void Start() { states = GetComponent <StateManager>(); states.Init(); cameraManager = CameraManger.singleton; cameraManager.Init(this.transform); }
private void Awake() { singleton = this; }