Example #1
0
 public void Setup(Transform m, float r, float e, Color g)
 {
     masterObj        = m;
     _deviceInterface = m.GetComponent <libraryDeviceInterface>();
     sprocketRadius   = r;
     glowEmission     = e;
     glowColor        = g;
 }
 void Awake()
 {
     if (secondary)
     {
         panelMax = 30;
     }
     else
     {
         panelMax = 20;
     }
     _deviceInterface = GetComponentInParent <libraryDeviceInterface>();
 }