C# Class Firework, OpenRelativity

Inheritance: MonoBehaviour
Mostra file Open project: MITGameLab/OpenRelativity Class Usage Examples

Public Properties

Property Type Description
count float
isParticle bool
particleSpeed float
startTimer float
state GameState,
viw Vector3

Public Methods

Method Description
Awake ( ) : void
EmitParticle ( float gamma, float theta ) : void
KillObject ( ) : void
OnEnable ( ) : void
RecursiveTransform ( Vector3 pt, Transform trans ) : Vector3
ResetDeathTime ( ) : void
SetDeathTime ( ) : void
SetStartTime ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
checkSpeed ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

EmitParticle() public method

public EmitParticle ( float gamma, float theta ) : void
gamma float
theta float
return void

KillObject() public method

public KillObject ( ) : void
return void

OnEnable() public method

public OnEnable ( ) : void
return void

RecursiveTransform() public method

public RecursiveTransform ( Vector3 pt, Transform trans ) : Vector3
pt Vector3
trans Transform
return Vector3

ResetDeathTime() public method

public ResetDeathTime ( ) : void
return void

SetDeathTime() public method

public SetDeathTime ( ) : void
return void

SetStartTime() public method

public SetStartTime ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

count public_oe property

public float count
return float

isParticle public_oe property

public bool isParticle
return bool

particleSpeed public_oe property

public float particleSpeed
return float

startTimer public_oe property

public float startTimer
return float

state public_oe property

public GameState, state
return GameState,

viw public_oe property

public Vector3 viw
return Vector3