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