Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /// All public variables
- /// health /// </summary>
- public int playerHP = 100;
- public Slider HPBar;
- public int currentPlayerHP;
- /// <summary>
- /// mana /// </summary>
- public int playerMP = 100;
- public Slider MPBar;
- public int currentPlayerMP;
- /// <summary>
- /// special points /// </summary>
- public int playerSP = 1000;
- public Slider SPBar;
- public int currentPlayerSP;
- /// <summary>
- /// red flash on damage /// </summary>
- public Image damageImage;
- public float flashSpeed = 5f;
- public Color flashColorHP = new Color(1f, 0f, 0f, 0.1f);
- public Color flashColorMP = new Color(0f, 0f, 1f, 0.1f);
- /// <summary>
- /// Private variables
- /// </summary>
- private Animator anim;
- private PlayerMovementNonBattle playerMovement;
- private bool isDead;
- private bool damaged;
- private bool usedMP;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement