Ejemplo n.º 1
0
 void Start()
 {
     states = GetComponent <StateManager>();
     states.Init();
     cameraManager = CameraManger.singleton;
     cameraManager.Init(this.transform);
 }
Ejemplo n.º 2
0
 private void Awake()
 {
     singleton = this;
 }