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