Пример #1
0
 void Awake()
 {
     colorProperties = GetComponent<ColorControlledObjectScript>();
     colorPicker = GameObject.FindWithTag("Spectrum").GetComponent<colorPicker>();
     sawBladeScript = sawBlade.GetComponent<SawBladeScript>();
 }
Пример #2
0
 void Awake()
 {
     colorProperties = GetComponent <ColorControlledObjectScript>();
     colorPicker     = GameObject.FindWithTag("Spectrum").GetComponent <colorPicker>();
     sawBladeScript  = sawBlade.GetComponent <SawBladeScript>();
 }