C# Class GrowOnLand, Elemental

Inheritance: MonoBehaviour
Exibir arquivo Open project: CodeStrumpet/Elemental

Public Properties

Property Type Description
debugRaycast bool
frameSkip int
growSpeed float
landMesh Transform
rayDistance float
rayOffset float
shrinkSpeed float

Public Methods

Method Description
DrawDebugRaycast ( Vector3 origin, Color c ) : void
Grow ( ) : void
Setup ( ) : void
Shrink ( ) : void
Start ( ) : void
Transition ( State, newState ) : void
Update ( ) : void

Private Methods

Method Description
DoRaycast ( ) : bool
RaycastToLand ( ) : bool

Method Details

DrawDebugRaycast() public method

public DrawDebugRaycast ( Vector3 origin, Color c ) : void
origin Vector3
c Color
return void

Grow() public method

public Grow ( ) : void
return void

Setup() public method

public Setup ( ) : void
return void

Shrink() public method

public Shrink ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Transition() public method

public Transition ( State, newState ) : void
newState State,
return void

Update() public method

public Update ( ) : void
return void

Property Details

debugRaycast public_oe property

public bool debugRaycast
return bool

frameSkip public_oe property

public int frameSkip
return int

growSpeed public_oe property

public float growSpeed
return float

landMesh public_oe property

public Transform landMesh
return Transform

rayDistance public_oe property

public float rayDistance
return float

rayOffset public_oe property

public float rayOffset
return float

shrinkSpeed public_oe property

public float shrinkSpeed
return float