Exemple #1
0
 public override void Update(List <IEntity> entities, float deltaTime)
 {
     for (int i = 0; i < entities.Count; ++i)
     {
         mFactory.Spawn(mPrefab, entities[i].GetComponent <TClickedComponent>().mWorldPosition,
                        Quaternion.identity, null);
     }
 }