예제 #1
0
        void CreateEntityRearSight(EntitiesPool pool)
        {
            var realSightComponent = new RearSight();

            pool.CreateEntityAndAddComponent(realSightComponent, _countEntity);
        }
예제 #2
0
        void CreateEntitySilencer(EntitiesPool pool)
        {
            var silencerComponent = new Silencer();

            pool.CreateEntityAndAddComponent(silencerComponent, _countEntity);
        }