Inheritance: GUIDraggableObject
Exemplo n.º 1
0
	public ACEEditor(){
		posLine = new AudioPosLine();
		GenerateTextures();
	}
Exemplo n.º 2
0
	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;
	}