C# 클래스 UnitSelectionManager, RTSControls

상속: MonoBehaviour
파일 보기 프로젝트 열기: ZachHoefler/RTSControls 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DragRectAlpha float
DragRectColor Color
WhiteTexture UnityEngine.Texture2D

공개 메소드들

메소드 설명
OnGUI ( ) : void
Start ( ) : void
Update ( ) : void

비공개 메소드들

메소드 설명
ConvertDragToWorldSpace ( Vector3 dragStartPos, Vector3 dragEndPos, Vector3 &dragStartWorld, Vector3 &dragEndWorld ) : void
DrawSelectionBox ( Vector3 start, Vector3 end ) : void
HandleLeftMouse ( ) : void
SelectUnits ( Vector3 dragStartPos, Vector3 dragEndPos ) : void

메소드 상세

OnGUI() 공개 메소드

public OnGUI ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

DragRectAlpha 공개적으로 프로퍼티

public float DragRectAlpha
리턴 float

DragRectColor 공개적으로 프로퍼티

public Color DragRectColor
리턴 Color

WhiteTexture 공개적으로 프로퍼티

public Texture2D,UnityEngine WhiteTexture
리턴 UnityEngine.Texture2D