C# 클래스 MapEditor, SRPGCK

상속: EditorWindow
파일 보기 프로젝트 열기: JoeOsborn/SRPGCK 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
cornerInsets float[]
draggingInMap bool
editMode EditMode,
editModeChanged bool
editZ int
lastPos Vector3
lastSideLength float
lastSize Vector2
makeInvisibleTiles bool
showDimensions bool
sideInsets float[]
specPlaceholderTexture UnityEngine.Texture2D
specScrollPos Vector2
specSelectedSpec int

공개 메소드들

메소드 설명
AddOrStampIsoTileAt ( int idx ) : void
AdjustIsoHeightAt ( int idx, Neighbors, collidedFace, Vector3 wpos, int dh ) : void
BaseStampOffsetsAt ( int idx ) : void
DrawWireBounds ( Vector3 center, Vector3 size, Color lineColor ) : void
DrawWireBounds ( Vector3 center, Vector3 size, Color lineColor, Neighbors, sides ) : void
GUIUpdateTexture ( Texture2D tex, int idx, int>.Dictionary names ) : void
OnInspectorGUI ( ) : void
OnSceneGUI ( ) : void
RegisterUndo ( string label ) : void
RemoveIsoTileAt ( int idx ) : void
RemoveOffsetsAt ( int idx ) : void
SetTileSpecAt ( int idx, Neighbors, collidedFace ) : void
SetupAddRemoveTileBounds ( TileBounds, b, int idx ) : void
SetupPaintTileBounds ( TileBounds, b, int idx ) : void
StampOffsetsAt ( int idx ) : void

비공개 메소드들

메소드 설명
CollidedFaceAt ( Vector3 cp, TileBounds, b ) : Neighbors,
Roughly ( float a, float b ) : bool
modf ( float f ) : float

메소드 상세

AddOrStampIsoTileAt() 공개 메소드

public AddOrStampIsoTileAt ( int idx ) : void
idx int
리턴 void

AdjustIsoHeightAt() 공개 메소드

public AdjustIsoHeightAt ( int idx, Neighbors, collidedFace, Vector3 wpos, int dh ) : void
idx int
collidedFace Neighbors,
wpos Vector3
dh int
리턴 void

BaseStampOffsetsAt() 공개 메소드

public BaseStampOffsetsAt ( int idx ) : void
idx int
리턴 void

DrawWireBounds() 공개 정적인 메소드

public static DrawWireBounds ( Vector3 center, Vector3 size, Color lineColor ) : void
center Vector3
size Vector3
lineColor Color
리턴 void

DrawWireBounds() 공개 정적인 메소드

public static DrawWireBounds ( Vector3 center, Vector3 size, Color lineColor, Neighbors, sides ) : void
center Vector3
size Vector3
lineColor Color
sides Neighbors,
리턴 void

GUIUpdateTexture() 공개 메소드

public GUIUpdateTexture ( Texture2D tex, int idx, int>.Dictionary names ) : void
tex UnityEngine.Texture2D
idx int
names int>.Dictionary
리턴 void

OnInspectorGUI() 공개 메소드

public OnInspectorGUI ( ) : void
리턴 void

OnSceneGUI() 공개 메소드

public OnSceneGUI ( ) : void
리턴 void

RegisterUndo() 공개 메소드

public RegisterUndo ( string label ) : void
label string
리턴 void

RemoveIsoTileAt() 공개 메소드

public RemoveIsoTileAt ( int idx ) : void
idx int
리턴 void

RemoveOffsetsAt() 공개 메소드

public RemoveOffsetsAt ( int idx ) : void
idx int
리턴 void

SetTileSpecAt() 공개 메소드

public SetTileSpecAt ( int idx, Neighbors, collidedFace ) : void
idx int
collidedFace Neighbors,
리턴 void

SetupAddRemoveTileBounds() 공개 메소드

public SetupAddRemoveTileBounds ( TileBounds, b, int idx ) : void
b TileBounds,
idx int
리턴 void

SetupPaintTileBounds() 공개 메소드

public SetupPaintTileBounds ( TileBounds, b, int idx ) : void
b TileBounds,
idx int
리턴 void

StampOffsetsAt() 공개 메소드

public StampOffsetsAt ( int idx ) : void
idx int
리턴 void

프로퍼티 상세

cornerInsets 공개적으로 프로퍼티

public float[] cornerInsets
리턴 float[]

draggingInMap 공개적으로 프로퍼티

public bool draggingInMap
리턴 bool

editMode 공개적으로 프로퍼티

public EditMode, editMode
리턴 EditMode,

editModeChanged 공개적으로 프로퍼티

public bool editModeChanged
리턴 bool

editZ 공개적으로 프로퍼티

public int editZ
리턴 int

lastPos 공개적으로 프로퍼티

public Vector3 lastPos
리턴 Vector3

lastSideLength 공개적으로 프로퍼티

public float lastSideLength
리턴 float

lastSize 공개적으로 프로퍼티

public Vector2 lastSize
리턴 Vector2

makeInvisibleTiles 공개적으로 프로퍼티

public bool makeInvisibleTiles
리턴 bool

showDimensions 공개적으로 프로퍼티

public bool showDimensions
리턴 bool

sideInsets 공개적으로 프로퍼티

public float[] sideInsets
리턴 float[]

specPlaceholderTexture 공개적으로 프로퍼티

public Texture2D,UnityEngine specPlaceholderTexture
리턴 UnityEngine.Texture2D

specScrollPos 공개적으로 프로퍼티

public Vector2 specScrollPos
리턴 Vector2

specSelectedSpec 공개적으로 프로퍼티

public int specSelectedSpec
리턴 int