Example #1
0
 void OnDisable()
 {
     slider = null;
 }
Example #2
0
 void OnEnable()
 {
     slider = new LODSlider();
     slider.InsertRange("Detail", Config.LODRange);
     slider.InsertRange("HLOD", 0.0f);
 }