logancberrypie

Untitled

Jun 27th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.23 KB | None | 0 0
  1.     public void OnMouseDown()
  2.     {
  3.         Player.Instances[0].Attack(entity , 1);
  4.         if (entity.CurrentHp <= 0)
  5.         {
  6.             gameObject.SetActive(false);
  7.         }
  8.         Debug.Log("The boy clickeD");
  9.     }
Advertisement
Add Comment
Please, Sign In to add comment