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