C# Class StemMesh

Inheritance: MonoBehaviour
Show file Open project: leapmotion/ImageGrid

Public Properties

Property Type Description
growthProgress float
segments Collider[]
sides int
stemCurve UnityEngine.AnimationCurve
stumpDiminishTime float

Public Methods

Method Description
IsBroken ( ) : bool
IsStumpClear ( ) : bool
RemoveStump ( ) : void

Protected Methods

Method Description
Separate ( int index ) : void

Private Methods

Method Description
Break ( int index ) : void
InitMesh ( ) : void
KillStump ( ) : void
Start ( ) : void
Update ( ) : void
UpdateMesh ( ) : void

Method Details

IsBroken() public method

public IsBroken ( ) : bool
return bool

IsStumpClear() public method

public IsStumpClear ( ) : bool
return bool

RemoveStump() public method

public RemoveStump ( ) : void
return void

Separate() protected method

protected Separate ( int index ) : void
index int
return void

Property Details

growthProgress public property

public float growthProgress
return float

segments public property

public Collider[] segments
return Collider[]

sides public property

public int sides
return int

stemCurve public property

public AnimationCurve,UnityEngine stemCurve
return UnityEngine.AnimationCurve

stumpDiminishTime public property

public float stumpDiminishTime
return float