C# Class CutsceneEditor, silverscreen

Inheritance: Editor
Afficher le fichier Open project: mminer/silverscreen Class Usage Examples

Méthodes publiques

Свойство Type Description
HasPro bool
currentTool Tool,
dragClip CutsceneClip,
dragEvent DragEvent,
mediaIcons Texture[]
selectedClip CutsceneClip,
timelineScrollPos Vector2
version System.Version

Méthodes publiques

Méthode Description
HandleKeyboardShortcuts ( Event keyDownEvent ) : void

Determines which key command is pressed and responds accordingly.

PaneTabsWidth ( int count ) : float

Private Methods

Méthode Description
CreateActorTrack ( ) : void
CreateAudioTrack ( ) : void
CreateCutscene ( ) : void
CreateCutsceneTrigger ( ) : Collider
CreateShotTrack ( ) : void
CreateSubtitleTrack ( ) : void
DeleteClip ( CutsceneClip, clip ) : bool

Deletes a clip.

DeleteClip ( MenuCommand command ) : bool
DeleteCutsceneMedia ( CutsceneMedia, obj ) : void

Deletes a piece of media.

This has to be in CutsceneEditor rather than CutsceneTimeline because it uses the DestroyImmediate function, which is only available to classes which inherit from UnityEngine.Object.

DeleteCutsceneMedia ( MenuCommand command ) : void
DeleteTrack ( CutsceneTrack, track ) : bool

Deletes a track.

DeleteTrack ( MenuCommand command ) : bool
OnEnable ( ) : void
OnGUI ( ) : void

Displays the editor GUI.

OpenEditor ( ) : void
SelectTrackAtIndex ( int index ) : void

Selects the track at the specified index.

ValidateCreateActorTrack ( ) : bool
ValidateCreateAudioTrack ( ) : bool
ValidateCreateShotTrack ( ) : bool
ValidateCreateSubtitleTrack ( ) : bool
ValidateOpenEditor ( ) : bool

Method Details

HandleKeyboardShortcuts() public méthode

Determines which key command is pressed and responds accordingly.
public HandleKeyboardShortcuts ( Event keyDownEvent ) : void
keyDownEvent Event The keyboard event.
Résultat void

PaneTabsWidth() public static méthode

public static PaneTabsWidth ( int count ) : float
count int
Résultat float

Property Details

HasPro public_oe static_oe property

public static bool HasPro
Résultat bool

currentTool public_oe property

public Tool, currentTool
Résultat Tool,

dragClip public_oe property

public CutsceneClip, dragClip
Résultat CutsceneClip,

dragEvent public_oe property

public DragEvent, dragEvent
Résultat DragEvent,

mediaIcons public_oe property

public Texture[] mediaIcons
Résultat Texture[]

selectedClip public_oe property

public CutsceneClip, selectedClip
Résultat CutsceneClip,

timelineScrollPos public_oe property

public Vector2 timelineScrollPos
Résultat Vector2

version public_oe static_oe property

public static Version,System version
Résultat System.Version