C# 클래스 TrackBuildREditorInspector, ProjectPhoenix

파일 보기 프로젝트 열기: Alx666/ProjectPhoenix 1 사용 예제들

공개 메소드들

메소드 설명
CleanUp ( ) : void

Called to ensure we're not leaking stuff into the Editor

OnInspectorGUI ( TrackBuildR, _trackBuildR, int selectedPointIndex, int selectedCurveIndex ) : void

비공개 메소드들

메소드 설명
CurveTextureSelector ( TrackBuildRTrack, _track, int textureIndex, string label ) : int

A stub of GUI for selecting the texture for a specific part of the track on a specific curve IE. The track texture, the wall texture, etc...

GotoScenePoint ( Vector3 position ) : void

A little hacking of the Unity Editor to allow us to focus on an arbitrary point in 3D Space We're replicating pressing the F button in scene view to focus on the selected object Here we can focus on a 3D point

RenderPreview ( TrackBuildR, _trackBuildR ) : void
TextureGUI ( TrackBuildRTexture &texture ) : bool

The Texture display GUI

Title ( string titleString, Color colour ) : void

A GUI stub that displays the coloured titles in the inspector for Track BuildR

UpdateDiagram ( TrackBuildRTrack, _track ) : void

Deals with modifing the diagram used in track building

메소드 상세

CleanUp() 공개 정적인 메소드

Called to ensure we're not leaking stuff into the Editor
public static CleanUp ( ) : void
리턴 void

OnInspectorGUI() 공개 정적인 메소드

public static OnInspectorGUI ( TrackBuildR, _trackBuildR, int selectedPointIndex, int selectedCurveIndex ) : void
_trackBuildR TrackBuildR,
selectedPointIndex int
selectedCurveIndex int
리턴 void