示例#1
0
 private void LateUpdate()
 {
     EventEntry.Trigger(entries, "LateUpdate");
 }
示例#2
0
 private void OnCollisionExit(Collision collision)
 {
     EventEntry.Trigger(entries, "Exit", "collision", collision);
 }
示例#3
0
 private void OnDestroy()
 {
     EventEntry.Trigger(entries, "Destroy");
 }
示例#4
0
 private void OnDisable()
 {
     EventEntry.Trigger(entries, "Disable");
 }
示例#5
0
 private void OnEnable()
 {
     EventEntry.Trigger(entries, "Enable");
 }
 private void OnTriggerExit(Collider other)
 {
     EventEntry.Trigger(entries, "Exit", "collider", other);
 }
示例#7
0
 public static void Add(List <EventEntry> entries, EventEntry entry)
 {
     entries.Add(entry);
 }