void Awake() { activator = GetComponentInChildren<Activator>(); eye = GetComponentInChildren<Eye>(); inventory = GetComponentInChildren<Inventory>(); lastPositionKeeper = GetComponentInChildren<LastPositionKeeper>(); head = GetComponentInChildren<Head>(); cameraPlace = GetComponentInChildren<CameraPlace>(); undo = GetComponentInChildren<Undo>(); characterController = GetComponentInChildren<CharacterController>(); rewind = GetComponentInChildren<Rewind>(); slowmo = GetComponentInChildren<Slowmo>(); gravity = GetComponentInChildren<Gravity>(); all.Add(this); }
public void SetViewMid() { state = CameraPlace.mid; }
public void SetViewUp() { state = CameraPlace.up; }