Advertisement
Wolvenspud

EW - goalScript

Nov 5th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.25 KB | None | 0 0
  1. using UnityEngine;
  2. using System.Collections;
  3.  
  4. public class goalScript : MonoBehaviour {
  5.  
  6.     private void OnTriggerEnter(Collider other)
  7.     {
  8.         if (other.tag == "emu")
  9.         {
  10.             globalValues.alterHp(1);
  11.         }
  12.     }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement