Update accessibility
This commit is contained in:
parent
14d30d28e3
commit
0cb43c31d0
@ -1064,7 +1064,7 @@ namespace Passer.Humanoid {
|
|||||||
#region Tools
|
#region Tools
|
||||||
|
|
||||||
/// <summary>Gets the eye position in world coordinates</summary>
|
/// <summary>Gets the eye position in world coordinates</summary>
|
||||||
public Vector3 GetEyePosition() {
|
public virtual Vector3 GetEyePosition() {
|
||||||
if (Application.isPlaying && gameObject != null) {
|
if (Application.isPlaying && gameObject != null) {
|
||||||
Camera camera = gameObject.GetComponentInChildren<Camera>();
|
Camera camera = gameObject.GetComponentInChildren<Camera>();
|
||||||
if (camera != null)
|
if (camera != null)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user