C# Class StemMesh

Inheritance: MonoBehaviour
ファイルを表示 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_oe property

public float growthProgress
return float

segments public_oe property

public Collider[] segments
return Collider[]

sides public_oe property

public int sides
return int

stemCurve public_oe property

public AnimationCurve,UnityEngine stemCurve
return UnityEngine.AnimationCurve

stumpDiminishTime public_oe property

public float stumpDiminishTime
return float