Project Arrhythmia
A video game developed by Vitamin Games.
Loading...
Searching...
No Matches
EventEditor Class Reference
+ Inheritance diagram for EventEditor:

Classes

class  KeyframeSelection
 

Public Member Functions

void CopyAllSelectedEvents ()
 
void PasteEvents ()
 
void AddedSelectedEvent (KeyframeSelection _selection)
 
void SetCurrentEvent (KeyframeSelection _selection)
 
void ClearSelection ()
 
void CreateNewEventObject (int _type=0)
 
void CreateNewEventObject (float _time, int _type)
 
void Start ()
 
void NewKeyframeFromTimeline (int _type)
 
List< int > GetTypesFromSelections (List< KeyframeSelection > _selections)
 
void UpdateOnlySelectionTypes (KeyframeSelection _selection)
 
void UpdateOnlySelectionTypes (List< KeyframeSelection > _selections)
 
void UpdateOnlySelectionTypes ()
 
void Update ()
 
void CreateEventObjects ()
 Recreates all the event objects from scratch.
 
void ClearEventObjects ()
 
GameObject CreateEventObject (KeyframeSelection _sele)
 
void RenderEventObjects ()
 
GameObject RenderEventObject (KeyframeSelection _selection)
 
void CloseDialog ()
 
void UpdateEventOrder ()
 Update the order of all events in the current event keyframe selection.
 
void UpdateEventOrder (KeyframeSelection _selection)
 Updates only the needed event type (singular) based on the selection.
 
void UpdateEventOrder (List< KeyframeSelection > _selections)
 Updates only the needed event types based on the selection.
 
string DeleteEvent (KeyframeSelection _selection, bool _update=true, bool _select=true)
 
void DeleteEvents (List< KeyframeSelection > _keyframes)
 

Public Attributes

Color CheckpointSelected
 
Color Selected
 
List< Color > EventColors = new List<Color>()
 
GameObject ThemeAdd
 
GameObject ThemePanel
 
GameObject EventHolders
 
GameObject EventLabels
 
GameObject TimelinePrefab
 
Dictionary< string, GameObject > eventObjects = new Dictionary<string, GameObject>()
 
bool eventDrag = false
 
List< DataManager.GameData.EventKeyframecopiedKeyframes = new List<DataManager.GameData.EventKeyframe>()
 
float mouseOffsetXForDrag
 
KeyframeSelection currentSelection
 
List< KeyframeSelectionkeyframeSelections = new List<KeyframeSelection>()
 
Dictionary< KeyframeSelection, DataManager.GameData.EventKeyframecopiedEventKeyframes = new Dictionary<KeyframeSelection, DataManager.GameData.EventKeyframe>()
 

Static Public Attributes

static EventEditor inst
 

Private Member Functions

void Awake ()
 Make sure there is only one instance of this object.
 
EventTrigger.Entry CreateEventObjectTrigger (EventTriggerType _triggerType, KeyframeSelection _selection)
 
EventTrigger.Entry CreateEventStartDragTrigger (EventTriggerType _eventTigger, KeyframeSelection _selection)
 
EventTrigger.Entry CreateEventEndDragTrigger (EventTriggerType _eventTigger, KeyframeSelection _selection)
 

Private Attributes

string className = "[<color=#e65100>EventEditor</color>] \n"
 

Member Function Documentation

◆ UpdateEventOrder() [1/2]

void EventEditor.UpdateEventOrder ( KeyframeSelection _selection)

Updates only the needed event type (singular) based on the selection.

Parameters
_selection

◆ UpdateEventOrder() [2/2]

void EventEditor.UpdateEventOrder ( List< KeyframeSelection > _selections)

Updates only the needed event types based on the selection.

Parameters
_selections

The documentation for this class was generated from the following file: