示例#1
0
        public void AddNewTriggerObject(UnityEngine.Object obj)
        {
            DMKTriggerInfo trigger = new DMKTriggerInfo(obj, this);

            triggers.Add(trigger);
            this.OnAddNewTrigger(trigger);
        }
示例#2
0
 public virtual void OnTrigger(DMKTriggerInfo trigger)
 {
 }
示例#3
0
 public virtual bool IsTriggerAlive(DMKTriggerInfo info)
 {
     return(info.currentFrame > this.triggerFrame);
 }
示例#4
0
 public virtual void OnAddNewTrigger(DMKTriggerInfo trigger)
 {
 }