Beispiel #1
0
 void Awake()
 {
     Player           = GameObject.Find("Player");
     PlayerAnimator   = Player.GetComponent <Animator>();
     playerStairState = STAIR_STATE.off_stair;
     playerFacing     = PLAYER_FACING.right;
     isClimbing       = false;
 }
Beispiel #2
0
 public void setPlayerFacing(PLAYER_FACING facing)
 {
     playerFacing = facing;
 }