Exemplo n.º 1
0
 public void Construct(Rigidbody2D rb2D, ProjectilePool pool, DelayedExecutor delayedExecutor)
 {
     _rb2D            = rb2D;
     _pool            = pool;
     _delayedExecutor = delayedExecutor;
 }
Exemplo n.º 2
0
            public Client(ProjectilePool pool, GameObject prefab)
            {
                _pool = pool;

                ClientScene.RegisterPrefab(prefab, SpawnHandler, UnspawnHandler);
            }