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