C# Class PredictionLines, EarthDefence

Inheritance: MonoBehaviour
Mostrar archivo Open project: GameMakersUnion/EarthDefence

Public Methods

Method Description
PlotTrajectory ( Vector3 start, Vector3 startVelocity, float timestep, float maxTime ) : void
PlotTrajectoryAtTime ( Vector2 start, Vector2 startVelocity, float time ) : Vector2

Private Methods

Method Description
Awake ( ) : void
Start ( ) : void
Update ( ) : void

Method Details

PlotTrajectory() public method

public PlotTrajectory ( Vector3 start, Vector3 startVelocity, float timestep, float maxTime ) : void
start Vector3
startVelocity Vector3
timestep float
maxTime float
return void

PlotTrajectoryAtTime() public method

public PlotTrajectoryAtTime ( Vector2 start, Vector2 startVelocity, float time ) : Vector2
start Vector2
startVelocity Vector2
time float
return Vector2