예제 #1
0
 public void OnEntitySpawned(Event_EntitySpawned evt)
 {
     AddItemToList(evt.entity);
 }
예제 #2
0
 protected void OnEntitySpawned(Event_EntitySpawned evt)
 {
     if (evt.entity != PlayerManager.PlayerEntity) {
         targetList.Add(evt.entity);
     }
 }