C# Class TrackBuildREditor, ProjectPhoenix

Inheritance: Editor
Afficher le fichier Open project: Alx666/ProjectPhoenix

Méthodes publiques

Свойство Type Description
_stageToolbarTexturesA UnityEngine.Texture2D[]
_stageToolbarTexturesB UnityEngine.Texture2D[]
boundaryModeString string[]
pitModeString string[]
pointModeString string[]
trackModeString string[]

Méthodes publiques

Méthode Description
OnInspectorGUI ( ) : void

Private Methods

Méthode Description
CleanUp ( ) : void
DrawTrack ( ) : void

This function renders and controls the layout track function in the menu Users can click place track points into the scene for a quick and easy creation of a track

NearestmMousePercentage ( ) : float

Get the nearest point on the track curve to the mouse position We essentailly project the track onto a 2D plane that is the editor camera and then find a point on that

OnDestroy ( ) : void
OnDisable ( ) : void
OnEnable ( ) : void
OnSceneGUI ( ) : void
SceneGUIPointBased ( ) : void
UpdateGui ( ) : void

Handle GUI changes and repaint requests

Method Details

OnInspectorGUI() public méthode

public OnInspectorGUI ( ) : void
Résultat void

Property Details

_stageToolbarTexturesA public_oe static_oe property

public static Texture2D[],UnityEngine _stageToolbarTexturesA
Résultat UnityEngine.Texture2D[]

_stageToolbarTexturesB public_oe static_oe property

public static Texture2D[],UnityEngine _stageToolbarTexturesB
Résultat UnityEngine.Texture2D[]

boundaryModeString public_oe static_oe property

public static string[] boundaryModeString
Résultat string[]

pitModeString public_oe static_oe property

public static string[] pitModeString
Résultat string[]

pointModeString public_oe static_oe property

public static string[] pointModeString
Résultat string[]

trackModeString public_oe static_oe property

public static string[] trackModeString
Résultat string[]