public void AddNewTriggerObject(UnityEngine.Object obj) { DMKTriggerInfo trigger = new DMKTriggerInfo(obj, this); triggers.Add(trigger); this.OnAddNewTrigger(trigger); }
public virtual void OnTrigger(DMKTriggerInfo trigger) { }
public virtual bool IsTriggerAlive(DMKTriggerInfo info) { return(info.currentFrame > this.triggerFrame); }
public virtual void OnAddNewTrigger(DMKTriggerInfo trigger) { }