Beispiel #1
0
 public void TalkToPlayer(PlayerBehaviour.Direction facingDirection)
 {
     animator.SetInteger("Direction", (int)facingDirection);
     Debug.Log(text[0]);          //This can be changed in the editor
 }
Beispiel #2
0
 void talk(PlayerBehaviour.Direction facingDirection)
 {
     animator.SetInteger("Direction", (int)facingDirection);
     Debug.Log(text[0]);
 }