C# Class GridOverlay, SRPGCK

Inheritance: Overlay
Exibir arquivo Open project: JoeOsborn/SRPGCK Class Usage Examples

Public Properties

Property Type Description
destinations PathNode[],
positions Vector4[]
selectedColor Color
selectedPoints Vector4[]

Protected Properties

Property Type Description
selectedHighlightMaterial Material

Public Methods

Method Description
PositionAt ( Vector3 hitSpot ) : PathNode,
SetSelectedPoints ( Vector4 points ) : void
Update ( ) : void
UpdateDestinations ( PathNode, dests ) : void

Protected Methods

Method Description
AddShadeMaterial ( ) : void
BoundsTextureFor ( Texture2D inTex, Vector4 points ) : Texture2D
CreateShadeMaterial ( ) : void
OnDestroy ( ) : void

Method Details

AddShadeMaterial() protected method

protected AddShadeMaterial ( ) : void
return void

BoundsTextureFor() protected method

protected BoundsTextureFor ( Texture2D inTex, Vector4 points ) : Texture2D
inTex UnityEngine.Texture2D
points Vector4
return UnityEngine.Texture2D

CreateShadeMaterial() protected method

protected CreateShadeMaterial ( ) : void
return void

OnDestroy() protected method

protected OnDestroy ( ) : void
return void

PositionAt() public method

public PositionAt ( Vector3 hitSpot ) : PathNode,
hitSpot Vector3
return PathNode,

SetSelectedPoints() public method

public SetSelectedPoints ( Vector4 points ) : void
points Vector4
return void

Update() public method

public Update ( ) : void
return void

UpdateDestinations() public method

public UpdateDestinations ( PathNode, dests ) : void
dests PathNode,
return void

Property Details

destinations public_oe property

public PathNode[], destinations
return PathNode[],

positions public_oe property

public Vector4[] positions
return Vector4[]

selectedColor public_oe property

public Color selectedColor
return Color

selectedHighlightMaterial protected_oe property

protected Material selectedHighlightMaterial
return Material

selectedPoints public_oe property

public Vector4[] selectedPoints
return Vector4[]