コード例 #1
0
ファイル: SawScript.cs プロジェクト: Banashek/ColorDare
 void Awake()
 {
     colorProperties = GetComponent<ColorControlledObjectScript>();
     colorPicker = GameObject.FindWithTag("Spectrum").GetComponent<colorPicker>();
     sawBladeScript = sawBlade.GetComponent<SawBladeScript>();
 }
コード例 #2
0
ファイル: SawScript.cs プロジェクト: Banashek/ColorDare
 void Awake()
 {
     colorProperties = GetComponent <ColorControlledObjectScript>();
     colorPicker     = GameObject.FindWithTag("Spectrum").GetComponent <colorPicker>();
     sawBladeScript  = sawBlade.GetComponent <SawBladeScript>();
 }