Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. /// All public variables
  2. /// health /// </summary>
  3. public int playerHP = 100;
  4. public Slider HPBar;
  5. public int currentPlayerHP;
  6. /// <summary>
  7. /// mana /// </summary>
  8. public int playerMP = 100;
  9. public Slider MPBar;
  10. public int currentPlayerMP;
  11. /// <summary>
  12. /// special points /// </summary>
  13. public int playerSP = 1000;
  14. public Slider SPBar;
  15. public int currentPlayerSP;
  16. /// <summary>
  17. /// red flash on damage /// </summary>
  18. public Image damageImage;
  19. public float flashSpeed = 5f;
  20. public Color flashColorHP = new Color(1f, 0f, 0f, 0.1f);
  21. public Color flashColorMP = new Color(0f, 0f, 1f, 0.1f);
  22.  
  23. /// <summary>
  24. /// Private variables
  25. /// </summary>
  26.  
  27. private Animator anim;
  28. private PlayerMovementNonBattle playerMovement;
  29. private bool isDead;
  30. private bool damaged;
  31. private bool usedMP;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement