private void OnTriggerEnter(Collider other)
 {
     // Can not target self for action
     if (!other.GetComponent <Collider>().CompareTag("Player"))
     {
         other.SendMessage(action.ToString(), SendMessageOptions.DontRequireReceiver);
     }
 }
Esempio n. 2
0
 public string GetCustomParameterAsString_CSV()
 {
     return("SingleShot," + triggerBeatTiming.ToString() + "," + playerActionType.ToString());
 }