C# Class CutsceneEditor, silverscreen

Inheritance: Editor
Mostrar archivo Open project: mminer/silverscreen Class Usage Examples

Public Properties

Property Type Description
HasPro bool
currentTool Tool,
dragClip CutsceneClip,
dragEvent DragEvent,
mediaIcons Texture[]
selectedClip CutsceneClip,
timelineScrollPos Vector2
version System.Version

Public Methods

Method Description
HandleKeyboardShortcuts ( Event keyDownEvent ) : void

Determines which key command is pressed and responds accordingly.

PaneTabsWidth ( int count ) : float

Private Methods

Method 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 method

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

PaneTabsWidth() public static method

public static PaneTabsWidth ( int count ) : float
count int
return float

Property Details

HasPro public_oe static_oe property

public static bool HasPro
return bool

currentTool public_oe property

public Tool, currentTool
return Tool,

dragClip public_oe property

public CutsceneClip, dragClip
return CutsceneClip,

dragEvent public_oe property

public DragEvent, dragEvent
return DragEvent,

mediaIcons public_oe property

public Texture[] mediaIcons
return Texture[]

selectedClip public_oe property

public CutsceneClip, selectedClip
return CutsceneClip,

timelineScrollPos public_oe property

public Vector2 timelineScrollPos
return Vector2

version public_oe static_oe property

public static Version,System version
return System.Version