public ACEEditor(){ posLine = new AudioPosLine(); GenerateTextures(); }
public void Update () { if(sidebarBgTex == null){ GenerateTextures(); } if(audioEvents != null){ if(audioEvents.dirty){ OnSelectionChange(); if(audioEvents != null){ audioEvents.dirty = false; } } } if(points == null){ OnSelectionChange(); } if(!Application.isPlaying && wasPlaying){ posLine = new AudioPosLine(); } if (doRepaint) { Repaint (); } wasPlaying = Application.isPlaying; }