C# 클래스 MouseBrush, workshop-trails

상속: MonoBehaviour
파일 보기 프로젝트 열기: momo-the-monster/workshop-trails

공개 프로퍼티들

프로퍼티 타입 설명
brushPrefab GameObject
gridSnap int

공개 메소드들

메소드 설명
AddBrush ( int index, Vector3 position ) : void
RemoveBrush ( int index ) : void
Start ( ) : void
Update ( ) : void

비공개 메소드들

메소드 설명
GetBrushPositionFromMouse ( ) : Vector3

메소드 상세

AddBrush() 공개 메소드

public AddBrush ( int index, Vector3 position ) : void
index int
position Vector3
리턴 void

RemoveBrush() 공개 메소드

public RemoveBrush ( int index ) : void
index int
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

brushPrefab 공개적으로 프로퍼티

public GameObject brushPrefab
리턴 GameObject

gridSnap 공개적으로 프로퍼티

public int gridSnap
리턴 int