C# Class PolygonEditor, Hellbound

Inheritance: Editor
Afficher le fichier Open project: Backman/Hellbound

Méthodes publiques

Свойство Type Description
activePoint int
awakeTime float
colliderType PolyCollider.ColliderType
deathTime float
endPosition Vector2
endTime float
insertPoint int
pointSelected bool
snapEnabled bool
snapValue float
startPosition Vector2
startTime float
timeSlider float

Méthodes publiques

Méthode Description
CreatePolyColliderObject ( ) : void
DrawInsertPointGUI ( Vector3 points ) : bool
OnInspectorGUI ( ) : void
OnSceneGUI ( ) : void
SetSnapEnabled ( bool enable ) : void
SetSnapValue ( float snapVal ) : void
setEndTime ( float time ) : void
setPositionBasedOnTimer ( float time ) : void
setStartTime ( float time ) : void

Private Methods

Méthode Description
DrawHandles ( Vector3 p ) : void
DrawLines ( Vector3 p ) : void
GUIEditSettings ( ) : bool
GUIPointSettings ( ) : bool
GUIPositionSettings ( ) : bool
GameObjectInit ( ) : void
GetWorldPoint ( Camera cam, Vector2 pos ) : Vector2
OnDisable ( ) : void
OnEnable ( ) : void
PointDrawStyleInput ( Camera cam, Event e, Vector3 p ) : void
Round ( Vector2 val, float snap ) : Vector2
Round ( Vector3 val, float snap ) : Vector3
Round ( float val, float snap ) : float
ShortcutListener ( Event e ) : void
ToggleEditingEnabled ( ) : void
UndoRedoPerformed ( ) : void
setEndPositions ( ) : void
setStartPositions ( ) : void

Method Details

CreatePolyColliderObject() public static méthode

public static CreatePolyColliderObject ( ) : void
Résultat void

DrawInsertPointGUI() public méthode

public DrawInsertPointGUI ( Vector3 points ) : bool
points Vector3
Résultat bool

OnInspectorGUI() public méthode

public OnInspectorGUI ( ) : void
Résultat void

OnSceneGUI() public méthode

public OnSceneGUI ( ) : void
Résultat void

SetSnapEnabled() public méthode

public SetSnapEnabled ( bool enable ) : void
enable bool
Résultat void

SetSnapValue() public méthode

public SetSnapValue ( float snapVal ) : void
snapVal float
Résultat void

setEndTime() public méthode

public setEndTime ( float time ) : void
time float
Résultat void

setPositionBasedOnTimer() public méthode

public setPositionBasedOnTimer ( float time ) : void
time float
Résultat void

setStartTime() public méthode

public setStartTime ( float time ) : void
time float
Résultat void

Property Details

activePoint public_oe property

public int activePoint
Résultat int

awakeTime public_oe property

public float awakeTime
Résultat float

colliderType public_oe property

public PolyCollider.ColliderType colliderType
Résultat PolyCollider.ColliderType

deathTime public_oe property

public float deathTime
Résultat float

endPosition public_oe property

public Vector2 endPosition
Résultat Vector2

endTime public_oe property

public float endTime
Résultat float

insertPoint public_oe property

public int insertPoint
Résultat int

pointSelected public_oe property

public bool pointSelected
Résultat bool

snapEnabled public_oe property

public bool snapEnabled
Résultat bool

snapValue public_oe property

public float snapValue
Résultat float

startPosition public_oe property

public Vector2 startPosition
Résultat Vector2

startTime public_oe property

public float startTime
Résultat float

timeSlider public_oe property

public float timeSlider
Résultat float