// Use this for initialization void Start() { patientCamera = GameObject.Find("CharacterCamera").GetComponent <Camera>(); row0 = transform.Find("ImageUploadPanel/Content/Row0"); displayImage = transform.Find("ImageUploadPanel/Content/Row0/WithImage/ImageGoesHere").GetComponent <Image>(); ds = GameObject.Find("GaudyBG").GetComponent <DataScript>(); openingFileExpolorer = false; sserial = new SerialScript(); }
// Use this for initialization void Start() { tm = GameObject.Find("GaudyBG").GetComponent <TabManager>(); if (sserial == null) { sserial = new SerialScript(); } Toggle t; if ((t = transform.parent.GetComponentInChildren <Toggle>()) != null) { if (t.isOn) { isPatientImage = true; } canSetPatientImage = true; } }
void Start() { ss = this.GetComponent <SerialScript>(); //シリアル通信(マイコンとの通信)用スクリプト読み込み EventManager.StartListening("Serve", onBallServe); }
// Start is called before the first frame update void Start() { ss = this.GetComponent <SerialScript>();//シリアル通信(マイコンとの通信)用スクリプト読み込み }