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