// Start is called before the first frame update void Start() { startbutton = GameObject.Find("Gamemain").GetComponent <Startbutton>(); RakusekiIwa = GameObject.Find("rakuseki_iwa"); RakusekiIwaScript = RakusekiIwa.GetComponent <RakusekiIwa>(); BossAttack = GameObject.Find("Boss_walking_R").GetComponent <Animator>(); }
// Start is called before the first frame update void Start() { MOVE = 1; myAnim = GetComponent <Animator>(); ClearAnim = GameObject.Find("Image").GetComponent <Animator>(); sprite = GetComponent <SpriteRenderer>(); this.HP = maxHP; if (sliderHP != null) { sliderHP.value = 1.0f; } startbutton = GameObject.Find("Gamemain").GetComponent <Startbutton>(); RakusekiIwa = GameObject.Find("rakuseki_iwa"); RakusekiIwaScript = RakusekiIwa.GetComponent <RakusekiIwa>(); BossWalk = GameObject.Find("Boss_walking_R").GetComponent <Animator>(); }
private void Start() { rakuseki = GetComponent <RakusekiIwa>(); audio = GetComponent <AudioSource>(); }
// Start is called before the first frame update void Start() { RakusekiIwa = GameObject.Find("rakuseki_iwa"); RakusekiIwaScript = RakusekiIwa.GetComponent <RakusekiIwa>(); }