Beispiel #1
0
 public AudioCurveWrapper(AudioSourceInspector.AudioCurveType type, string legend, int id, Color color, SerializedProperty curveProp, float rangeMin, float rangeMax)
 {
     this.type      = type;
     this.legend    = new GUIContent(legend);
     this.id        = id;
     this.color     = color;
     this.curveProp = curveProp;
     this.rangeMin  = rangeMin;
     this.rangeMax  = rangeMax;
 }
			public AudioCurveWrapper(AudioSourceInspector.AudioCurveType type, string legend, int id, Color color, SerializedProperty curveProp, float rangeMin, float rangeMax)
			{
				this.type = type;
				this.legend = new GUIContent(legend);
				this.id = id;
				this.color = color;
				this.curveProp = curveProp;
				this.rangeMin = rangeMin;
				this.rangeMax = rangeMax;
			}