C# 클래스 DraggableTexture, urban-survivors

상속: GUIDraggableObject
파일 보기 프로젝트 열기: exdev/urban-survivors 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
index int
selected bool
texture UnityEngine.Texture2D

보호된 프로퍼티들

프로퍼티 타입 설명
scale float

공개 메소드들

메소드 설명
DraggableTexture ( Texture2D tex, int idx ) : UnityEditor
DraggableTexture ( Texture2D tex, int idx, Vector2 position ) : UnityEditor
OnGUI ( float adjust ) : void

메소드 상세

DraggableTexture() 공개 메소드

public DraggableTexture ( Texture2D tex, int idx ) : UnityEditor
tex UnityEngine.Texture2D
idx int
리턴 UnityEditor

DraggableTexture() 공개 메소드

public DraggableTexture ( Texture2D tex, int idx, Vector2 position ) : UnityEditor
tex UnityEngine.Texture2D
idx int
position Vector2
리턴 UnityEditor

OnGUI() 공개 메소드

public OnGUI ( float adjust ) : void
adjust float
리턴 void

프로퍼티 상세

index 공개적으로 프로퍼티

public int index
리턴 int

scale 보호되어 있는 프로퍼티

protected float scale
리턴 float

selected 공개적으로 프로퍼티

public bool selected
리턴 bool

texture 공개적으로 프로퍼티

public Texture2D,UnityEngine texture
리턴 UnityEngine.Texture2D