C# Class MotherShip, WorldMaker

Inheritance: MonoBehaviour
Mostra 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_oe property

public Action YawAndPitchInput
return Action

cForward public_oe property

public float cForward
return float

cPitch public_oe property

public float cPitch
return float

cRight public_oe property

public float cRight
return float

cRoll public_oe property

public float cRoll
return float

cUp public_oe property

public float cUp
return float

cYaw public_oe property

public float cYaw
return float

enginePow public_oe property

public float enginePow
return float

enginePowMax public_oe property

public float enginePowMax
return float

enginePowMin public_oe property

public float enginePowMin
return float

forwardVelocity public_oe property

public float forwardVelocity
return float

maxSpeed public_oe property

public float maxSpeed
return float

orbitPlanet public_oe property

public Planet, orbitPlanet
return Planet,

orbitalPlanetDist public_oe property

public float orbitalPlanetDist
return float

pilotMode public_oe property

public PilotState pilotMode
return PilotState

pitchSpeed public_oe property

public float pitchSpeed
return float

playerInput public_oe property

public bool playerInput
return bool

rollSpeed public_oe property

public float rollSpeed
return float

rotationSpeed public_oe property

public Vector3 rotationSpeed
return Vector3

speed public_oe property

public Vector3 speed
return Vector3

targetSpeed public_oe property

public float targetSpeed
return float

yawSpeed public_oe property

public float yawSpeed
return float