Ejemplo n.º 1
0
 void Awake()
 {
     CharacterController = GetComponent("CharacterController") as CharacterController;
     Instance            = this;
 }
Ejemplo n.º 2
0
 void Awake()
 {
     cc       = GetComponent <CharacterController>();
     Instance = this;
     TpCamera.UseOrCreateMainCamera();
 }