Ejemplo n.º 1
0
 public void Start()
 {
     player         = player ?? new AudioSourcePool();
     clipRegister   = clipRegister ?? new ClipRegister();
     entitySpawner  = entitySpawner ?? new EntitySpawner();
     luaInterpreter = luaInterpreter ?? new LuaInterpreter();
 }
Ejemplo n.º 2
0
 public bool TryFetch(out IAudioEventSpawner fill)
 {
     fill = entitySpawner;
     return(!(fill is null));
 }
Ejemplo n.º 3
0
 public void Set(IAudioEventSpawner toSet) => entitySpawner = toSet;