void Awake() { colorProperties = GetComponent<ColorControlledObjectScript>(); colorPicker = GameObject.FindWithTag("Spectrum").GetComponent<colorPicker>(); sawBladeScript = sawBlade.GetComponent<SawBladeScript>(); }
// Use this for initialization void Start() { pickedColor = GameObject.FindWithTag("Spectrum").GetComponent <colorPicker>(); }
void Awake() { colorProperties = GetComponent <ColorControlledObjectScript>(); colorPicker = GameObject.FindWithTag("Spectrum").GetComponent <colorPicker>(); }
// Use this for initialization void Start() { pickedColor = GameObject.FindWithTag("Spectrum").GetComponent<colorPicker>(); }