Ejemplo n.º 1
0
 internal IEnumerable <GameObject> InvokeOnSpawnTownSlot(Chunk chunk, Vector3 pos)
 {
     return(OnSpawnTownSlot?.GetInvocationList().Cast <Func <Chunk, Vector3, IEnumerable <GameObject> > >().SelectMany(x => x(chunk, pos)));
 }
Ejemplo n.º 2
0
 internal IEnumerable <GameObject> InvokeOnSpawnTownSlot(Chunk chunk, Vector3 pos)
 {
     return(OnSpawnTownSlot?.Invoke(chunk, pos));
 }