C# Class FlowerGrower

Inheritance: MonoBehaviour
Show file Open project: leapmotion/ImageGrid Class Usage Examples

Public Properties

Property Type Description
deathRate float
flowerHead Transform
flowerHeadEndGrowth float
flowerHeadStartGrowth float
flowerToBloom FlowerBloom,
growthProgress float
growthRate float
leaves PetalMesh[],
leavesEndGrowth float
leavesStartGrowth float
lightSource Light
lightSourceEndGrowth float
lightSourceStartGrowth float
pedals PetalMesh[],
pedalsEndGrowth float
pedalsStartGrowth float
stem StemMesh,
stemEndGrowth float
stemStartGrowth float

Public Methods

Method Description
Die ( ) : void
IsBroken ( ) : bool
IsDead ( ) : bool
IsGrabbed ( ) : bool
IsStumpClear ( ) : bool
RemoveStump ( ) : void
SetSizes ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
ComputeGrowthAmount ( float start, float end ) : float

Method Details

Die() public method

public Die ( ) : void
return void

IsBroken() public method

public IsBroken ( ) : bool
return bool

IsDead() public method

public IsDead ( ) : bool
return bool

IsGrabbed() public method

public IsGrabbed ( ) : bool
return bool

IsStumpClear() public method

public IsStumpClear ( ) : bool
return bool

RemoveStump() public method

public RemoveStump ( ) : void
return void

SetSizes() public method

public SetSizes ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

deathRate public property

public float deathRate
return float

flowerHead public property

public Transform flowerHead
return Transform

flowerHeadEndGrowth public property

public float flowerHeadEndGrowth
return float

flowerHeadStartGrowth public property

public float flowerHeadStartGrowth
return float

flowerToBloom public property

public FlowerBloom, flowerToBloom
return FlowerBloom,

growthProgress public property

public float growthProgress
return float

growthRate public property

public float growthRate
return float

leaves public property

public PetalMesh[], leaves
return PetalMesh[],

leavesEndGrowth public property

public float leavesEndGrowth
return float

leavesStartGrowth public property

public float leavesStartGrowth
return float

lightSource public property

public Light lightSource
return Light

lightSourceEndGrowth public property

public float lightSourceEndGrowth
return float

lightSourceStartGrowth public property

public float lightSourceStartGrowth
return float

pedals public property

public PetalMesh[], pedals
return PetalMesh[],

pedalsEndGrowth public property

public float pedalsEndGrowth
return float

pedalsStartGrowth public property

public float pedalsStartGrowth
return float

stem public property

public StemMesh, stem
return StemMesh,

stemEndGrowth public property

public float stemEndGrowth
return float

stemStartGrowth public property

public float stemStartGrowth
return float