예제 #1
0
 void Awake()
 {
     CharacterController = GetComponent("CharacterController") as CharacterController;
     Instance            = this;
 }
예제 #2
0
 void Awake()
 {
     cc       = GetComponent <CharacterController>();
     Instance = this;
     TpCamera.UseOrCreateMainCamera();
 }