C# Class MouseBrush, workshop-trails

Inheritance: MonoBehaviour
显示文件 Open project: momo-the-monster/workshop-trails

Public Properties

Property Type Description
brushPrefab GameObject
gridSnap int

Public Methods

Method Description
AddBrush ( int index, Vector3 position ) : void
RemoveBrush ( int index ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
GetBrushPositionFromMouse ( ) : Vector3

Method Details

AddBrush() public method

public AddBrush ( int index, Vector3 position ) : void
index int
position Vector3
return void

RemoveBrush() public method

public RemoveBrush ( int index ) : void
index int
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

brushPrefab public_oe property

public GameObject brushPrefab
return GameObject

gridSnap public_oe property

public int gridSnap
return int