public AudioPreviewCurve() { PreviewBackground = true; _Data = new AudioClipCurveData(); Resolution = 800; BackgroundColor = new Color(0, 0, 0, 0); Color = new Color(0.3f, 0.3f, 1.0f, 1.0f); }
public AudioPreviewImage() { _Data = new AudioClipCurveData(); TextureWidth = 1024; TextureHeight = 128; BackgroundColor = new Color(0, 0, 0, 0); _MiddleColor = new Color(1.0f, 0.61f, 0.0f, 1.0f); _SideColor = new Color(1.0f, 0.82f, 0.0f, 1.0f); DestroyPreviewTexture(); PreviewBackground = true; }