Ejemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     controller = GetComponent <CharacterController>();
     animator   = GetComponent <Animator>();
     yLook      = GetComponent <YLook>();
 }
Ejemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     playerYLook = player.GetComponent <YLook>();
 }