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