예제 #1
0
 private void Awake()
 {
     spriteRenderer         = GetComponent <SpriteRenderer>();
     characterController    = GetComponent <RabbitCharacterController>();
     spriteRenderer.enabled = false;
     transform.position     = door.transform.position;
     mouthCarrot.SetActive(false);
 }
예제 #2
0
 // Use this for initialization
 void Awake()
 {
     controller = this.GetComponent <RabbitCharacterController> ();
 }
예제 #3
0
 private void Awake()
 {
     characterController = GetComponent <RabbitCharacterController>();
 }