C# Class FlowerGrower

Inheritance: MonoBehaviour
Mostrar archivo 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_oe property

public float deathRate
return float

flowerHead public_oe property

public Transform flowerHead
return Transform

flowerHeadEndGrowth public_oe property

public float flowerHeadEndGrowth
return float

flowerHeadStartGrowth public_oe property

public float flowerHeadStartGrowth
return float

flowerToBloom public_oe property

public FlowerBloom, flowerToBloom
return FlowerBloom,

growthProgress public_oe property

public float growthProgress
return float

growthRate public_oe property

public float growthRate
return float

leaves public_oe property

public PetalMesh[], leaves
return PetalMesh[],

leavesEndGrowth public_oe property

public float leavesEndGrowth
return float

leavesStartGrowth public_oe property

public float leavesStartGrowth
return float

lightSource public_oe property

public Light lightSource
return Light

lightSourceEndGrowth public_oe property

public float lightSourceEndGrowth
return float

lightSourceStartGrowth public_oe property

public float lightSourceStartGrowth
return float

pedals public_oe property

public PetalMesh[], pedals
return PetalMesh[],

pedalsEndGrowth public_oe property

public float pedalsEndGrowth
return float

pedalsStartGrowth public_oe property

public float pedalsStartGrowth
return float

stem public_oe property

public StemMesh, stem
return StemMesh,

stemEndGrowth public_oe property

public float stemEndGrowth
return float

stemStartGrowth public_oe property

public float stemStartGrowth
return float