C# Class MotherShip, WorldMaker

Inheritance: MonoBehaviour
Show file Open project: SvenFrankson/WorldMaker Class Usage Examples

Public Properties

Property Type Description
YawAndPitchInput Action
cForward float
cPitch float
cRight float
cRoll float
cUp float
cYaw float
enginePow float
enginePowMax float
enginePowMin float
forwardVelocity float
maxSpeed float
orbitPlanet Planet,
orbitalPlanetDist float
pilotMode PilotState
pitchSpeed float
playerInput bool
rollSpeed float
rotationSpeed Vector3
speed Vector3
targetSpeed float
yawSpeed float

Private Properties

Property Type Description

Public Methods

Method Description
CanEnterOrbitalAutoPilotMode ( ) : bool
CanEnterOrbitalMode ( ) : bool
DistFor ( Planet, p ) : float
InputUpdate ( ) : void
PitchFor ( Planet, p ) : float
RollFor ( Planet, p ) : float
Start ( ) : void
SwitchModeTo ( PilotState newPilotMode ) : void
Update ( ) : void
UpdatePlanets ( ) : Vector3
YawAndPitchAutoPilotInput ( ) : void
YawAndPitchOrbitAutoPilotInput ( ) : void
YawAndPitchOrbitInput ( ) : void
YawAndPitchPlayerInput ( ) : void

Method Details

CanEnterOrbitalAutoPilotMode() public method

public CanEnterOrbitalAutoPilotMode ( ) : bool
return bool

CanEnterOrbitalMode() public method

public CanEnterOrbitalMode ( ) : bool
return bool

DistFor() public method

public DistFor ( Planet, p ) : float
p Planet,
return float

InputUpdate() public method

public InputUpdate ( ) : void
return void

PitchFor() public method

public PitchFor ( Planet, p ) : float
p Planet,
return float

RollFor() public method

public RollFor ( Planet, p ) : float
p Planet,
return float

Start() public method

public Start ( ) : void
return void

SwitchModeTo() public method

public SwitchModeTo ( PilotState newPilotMode ) : void
newPilotMode PilotState
return void

Update() public method

public Update ( ) : void
return void

UpdatePlanets() public method

public UpdatePlanets ( ) : Vector3
return Vector3

YawAndPitchAutoPilotInput() public method

public YawAndPitchAutoPilotInput ( ) : void
return void

YawAndPitchOrbitAutoPilotInput() public method

public YawAndPitchOrbitAutoPilotInput ( ) : void
return void

YawAndPitchOrbitInput() public method

public YawAndPitchOrbitInput ( ) : void
return void

YawAndPitchPlayerInput() public method

public YawAndPitchPlayerInput ( ) : void
return void

Property Details

YawAndPitchInput public property

public Action YawAndPitchInput
return Action

cForward public property

public float cForward
return float

cPitch public property

public float cPitch
return float

cRight public property

public float cRight
return float

cRoll public property

public float cRoll
return float

cUp public property

public float cUp
return float

cYaw public property

public float cYaw
return float

enginePow public property

public float enginePow
return float

enginePowMax public property

public float enginePowMax
return float

enginePowMin public property

public float enginePowMin
return float

forwardVelocity public property

public float forwardVelocity
return float

maxSpeed public property

public float maxSpeed
return float

orbitPlanet public property

public Planet, orbitPlanet
return Planet,

orbitalPlanetDist public property

public float orbitalPlanetDist
return float

pilotMode public property

public PilotState pilotMode
return PilotState

pitchSpeed public property

public float pitchSpeed
return float

playerInput public property

public bool playerInput
return bool

rollSpeed public property

public float rollSpeed
return float

rotationSpeed public property

public Vector3 rotationSpeed
return Vector3

speed public property

public Vector3 speed
return Vector3

targetSpeed public property

public float targetSpeed
return float

yawSpeed public property

public float yawSpeed
return float