C# Class BodyFlow, TWI_Repo

Creates a constant "flow" throughout the body that recognizes the area of the body the ship is in and exerts a constant physical force to move the ship along the body with blood. Paired with Currently named "SubControl.cs" script that is the movement script for the ship.
Inheritance: MonoBehaviour
Show file Open project: justcollins/TWI_Repo Class Usage Examples

Public Properties

Property Type Description
activeEnv GameObject[]
blood float
currentZone GameObject
fogColor Color
fogDensity float
lightAngle float
lightIntensity float
lightRange float
myShip SubControl,
oxygenChange float
pressureChange float
shipCol Collider

Public Methods

Method Description
OnTriggerEnter ( Collider other ) : void
Start ( ) : void

Method Details

OnTriggerEnter() public method

public OnTriggerEnter ( Collider other ) : void
other Collider
return void

Start() public method

public Start ( ) : void
return void

Property Details

activeEnv public property

public GameObject[] activeEnv
return GameObject[]

blood public property

public float blood
return float

currentZone public property

public GameObject currentZone
return GameObject

fogColor public property

public Color fogColor
return Color

fogDensity public property

public float fogDensity
return float

lightAngle public property

public float lightAngle
return float

lightIntensity public property

public float lightIntensity
return float

lightRange public property

public float lightRange
return float

myShip public property

public SubControl, myShip
return SubControl,

oxygenChange public property

public float oxygenChange
return float

pressureChange public property

public float pressureChange
return float

shipCol public property

public Collider shipCol
return Collider