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

Public Member Functions

void SetTitle (string _override=null)
 
void SetMainTimelineZoom (float timelinePos=0)
 
IEnumerator UpdateTimelineScrollRect (float _delay, float _val)
 
void OnRenderPublic ()
 
override void OnRender ()
 
void SetAudioTime (float _val)
 
void RenderMarkers ()
 
void DeleteTimelineMarker (string _id)
 
void ResizeKeyframeTimeline ()
 
void UpdateHighlightedKeyframes ()
 
void CreateKeyframes (int _type=-1)
 
void SetSliderValue (float _time)
 
void MoveTimeline (float _normalizedAmount)
 
float GetKeyframeTime (float _time)
 
void ChangeTimeDown ()
 
void ChangeTimeUp ()
 
void Update ()
 
void RefreshExpandParentOptions (string _parent)
 
void RefreshParentGUI (string _parent)
 
void JumpToNewKeyframeSelection (KeyframeSelection _new)
 
void Left ()
 
void Right ()
 
void RenderColorBools ()
 
void RefreshObjectBaseGUI (ObjectSelection _current)
 
void RefreshKeyframeGUI ()
 Setup keyframe GUI.
 
void RenderKeyframeDialog ()
 
void SetShape (int _x, int _y)
 
void SetOriginX (float _x)
 
void SetOriginY (float _y)
 
KeyframeSelection AddEvent (float _time, int _kind, DataManager.GameData.EventKeyframe _keyframe)
 
DataManager.GameData.EventKeyframe AddEventGetKeyframe (float _time, int _kind, DataManager.GameData.EventKeyframe _keyframe)
 

Public Attributes

bool expandParentView
 
Color GridKeyframeColor
 
Color GridBPMColor
 
List< GameObject > SelectionArea
 
Image SelectionBoxImage
 
Vector2 DragStartPos
 
Vector2 DragEndPos
 
Rect SelectionRect
 
float ObjectLengthOffset = 2f
 
List< Sprite > KeyframeSprites = new List<Sprite>()
 
Color SelectedColor = LSColors.blue400
 
Transform objTimelineContent
 
ScrollRect objTimelineScrollRect
 
Slider objTimelineSlider
 
List< Transform > TimelineParents
 
List< List< GameObject > > timelineKeyframes = new List<List<GameObject>>()
 
Transform TimelineMarkerParent
 
Dictionary< string, GameObject > MarkerTimelineObjects = new Dictionary<string, GameObject>()
 
bool timelineKeyframesDrag = false
 
GameObject ObjectView
 
TextMeshProUGUI PanelTitle
 
List< GameObject > KeyframeDialogs = new List<GameObject>()
 
GameObject timelineScroll
 
List< Toggle > colorButtons = new List<Toggle>()
 
UIGridRenderer gridRenderer
 
Transform endLine
 
float newTime = 0
 
bool changingTime = false
 
GameObject objTimelinePrefab
 
GameObject markerTimelinePrefab
 
int ScreenOffset = 765
 
List< Toggle > TextColorButtons = new List<Toggle>()
 
List< Toggle > BGColorButtons = new List<Toggle>()
 

Static Public Attributes

const int keyframeWidth = 14
 

Protected Member Functions

override void OnAwake ()
 
override void OnUnRender ()
 
override void OnStart ()
 

Private Member Functions

Sprite GetKeyframeIcon (DataManager.LSAnimation _ease, DataManager.LSAnimation _easeNext)
 
EventTrigger.Entry CreateKeyframeStartDragTrigger (EventTriggerType _type, KeyframeSelection _selection)
 
EventTrigger.Entry CreateKeyframeEndDragTrigger (EventTriggerType _type, KeyframeSelection _selection)
 

Private Attributes

Color NormalColor = LSColors.white
 
string[] KeyframeTypes
 
float[] originVals = new float[] { -0.5f, 0.0f, 0.5f }
 
Debounce TextInputDebounce = new Debounce()
 

Member Function Documentation

◆ SetShape()

void EditorElement_ObjectPanel.SetShape ( int _x,
int _y )

Member Data Documentation

◆ KeyframeTypes

string [] EditorElement_ObjectPanel.KeyframeTypes
private
Initial value:
= new string[]{
"Position", "Scale", "Rotation", "Color"
}

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