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