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