C# Class Assets.Scripts.Spaceship.Combat.ShootingSystem

System handles starship shooting. During this process, projectile entities are instantiated.
EndSimulationEntityCommandBufferSystem is used for the projectile instantiation commands.
Inheritance: SystemBase
Datei anzeigen Open project: EnviloN/SpaceRTS-ECS

Protected Methods

Method Description
OnCreate ( ) : void

Gets or creates the EndSimulationEntityCommandBufferSystem.

OnUpdate ( ) : void

Handles the starship shooting.

Method Details

OnCreate() protected method

Gets or creates the EndSimulationEntityCommandBufferSystem.
protected OnCreate ( ) : void
return void

OnUpdate() protected method

Handles the starship shooting.
protected OnUpdate ( ) : void
return void