// Start is called before the first frame update void Start() { kantoku = GameObject.Find("Kantoku").GetComponent <Kantoku>(); omoko = GameObject.Find("Omoko").GetComponent <Omoko>(); touyama = GameObject.Find("Touyama").GetComponent <Touyama>(); hipo = GameObject.Find("Hipo").GetComponent <Hipo>(); }
// Start is called before the first frame update void Start() { this.text = GameObject.Find("message").GetComponent <Text>(); this.touyamaHp = GameObject.Find("touyamaHp").GetComponent <Text>(); this.omokoHp = GameObject.Find("omokoHp").GetComponent <Text>(); this.touyama = GameObject.Find("Touyama").GetComponent <Touyama>(); this.omoko = GameObject.Find("Omoko").GetComponent <Omoko>(); this.touyamaButton = GameObject.Find("touyamabutton").GetComponent <Button>(); this.omokoButton = GameObject.Find("omokobotan").GetComponent <Button>(); this.audioSource = GetComponent <AudioSource>(); this.tekiKantoku = GameObject.Find("TekiKantoku").GetComponent <TekiKantoku>(); this.sentouSaveData = GameObject.Find("SentouSaveData").GetComponent <SaveData>(); }
// Start is called before the first frame update void Start() { omoko = GameObject.Find("Omoko").GetComponent <Omoko>(); touyama = GameObject.Find("Touyama").GetComponent <Touyama>(); hipo = GameObject.Find("Hipo").GetComponent <Hipo>(); }