A 2D Farming RPG
This is just a simple 2D farming RPG game
Loading...
Searching...
No Matches
PlayerAnimationTest.cs
Go to the documentation of this file.
1using System.Collections;
2using System.Collections.Generic;
3using UnityEngine;
4
8public class PlayerAnimationTest : MonoBehaviour
9{
10 public float m_XInput;
11 public float m_YInput;
12 public bool m_IsWalking;
13 public bool m_IsRunning;
14 public bool m_IsIdle;
15 public bool m_IsCarrying;
17 public bool m_IsUsingToolRight;
18 public bool m_IsUsingToolLeft;
19 public bool m_IsUsingToolUp;
20 public bool m_IsUsingToolDown;
23 public bool m_IsLiftingToolUp;
27 public bool m_IsSwingingToolUp;
29 public bool m_IsPickingRight;
30 public bool m_IsPickingLeft;
31 public bool m_IsPickingUp;
32 public bool m_IsPickingDown;
33 public bool m_IdleUp;
34 public bool m_IdleDown;
35 public bool m_IdleRight;
36 public bool m_IdleLeft;
37
38 private void Update()
39 {
48
49
50 }
51}
ToolEffect
Describes the tool effect
Definition: Enums.cs:141
Raise an handle event when a movement is triggered.
Definition: EventHandler.cs:15
static void CallMovementEvent(float xInput, float yInput, bool isWalking, bool isRunning, bool isIdle, bool isCarrying, ToolEffect toolEffect, bool isUsingToolRight, bool isUsingToolLeft, bool isUsingToolUp, bool isUsingToolDown, bool isLiftingToolRight, bool isLiftingToolLeft, bool isLiftingToolUp, bool isLiftingToolDown, bool isPickingRight, bool isPickingLeft, bool isPickingUp, bool isPickingDown, bool isSwingingToolRight, bool isSwingingToolLeft, bool isSwingingToolUp, bool isSwingingToolDown, bool idleRight, bool idleLeft, bool idleUp, bool idleDown)
Movement Event Call For Publishers.
Definition: EventHandler.cs:47
This is just a test script to trigger and test animations.