void Start() { //Start()の中でコールバック関数の設定を行う nanoKontrol2 = GameObject.Find("NanoKontrol2").GetComponent <NanoKontrol2>(); nanoKontrol2.valueChangedFunctions.Add(nanoKontrol2_valueChanged); nanoKontrol2.keyPushedFunctions.Add(nanoKontrol2_keyPushed); }
void Start() { //Start()の中でコールバック関数の設定を行う nanoKontrol2 = GameObject.Find("NanoKontrol2").GetComponent <NanoKontrol2>(); nanoKontrol2.valueChangedFunctions.Add(nanoKontrol2_valueChanged); nanoKontrol2.keyPushedFunctions.Add(nanoKontrol2_keyPushed); property_width_ID = Shader.PropertyToID("_Width"); property_height_ID = Shader.PropertyToID("_Height"); }
// Start is called before the first frame update void Start() { beat = 60f / 165f; mainEmo = items.main; Count = 0f; Rgbswich = false; color_one = 10; color_two = 255; nanoKontrol2 = GameObject.Find("NanoKontrol2").GetComponent <NanoKontrol2>(); nanoKontrol2.valueChangedFunctions.Add(nanoKontrol2_valueChanged); nanoKontrol2.keyPushedFunctions.Add(nanoKontrol2_keyPushed); }
// Start is called before the first frame update void Start() { beat = 60f / 165f; mainEmo = items.main; Count = 0f; startSize_max = 0.5f; simulationSpeed = 0f; stopMove = false; RandomColor = false; color_one = 10; color_two = 255; nanoKontrol2 = GameObject.Find("NanoKontrol2").GetComponent <NanoKontrol2>(); nanoKontrol2.valueChangedFunctions.Add(nanoKontrol2_valueChanged); nanoKontrol2.keyPushedFunctions.Add(nanoKontrol2_keyPushed); }
void Start() { //nanoKontrol2スクリプトを取得 nanoKontrol2 = transform.GetComponent <NanoKontrol2>(); }