// Start is called before the first frame update
    void Start()
    {
        Attack1_collider_toggle = Attack1ColliderObject.GetComponent <Toggle>();
        Attack2_collider_toggle = Attack2ColliderObject.GetComponent <Toggle>();
        Attack3_collider_toggle = Attack3ColliderObject.GetComponent <Toggle>();
        SoundChangeAttack       = AttackSoundObject.GetComponent <SoundChnageAttack>();
        GardObject_toggle       = GardObject.GetComponent <Toggle>();
        GardObject_toggle.isOn  = false;
        anim = GetComponent <Animator>();
        Attack1_collider_toggle.isOn = false;
        Attack2_collider_toggle.isOn = false;
        Attack3_collider_toggle.isOn = false;

        Player                   = GameObject.FindWithTag("Player");
        player_controller        = Player.GetComponent <PlayerControllerScript>();
        similar_boss_move_script = GetComponent <EnemyBossSimilarPlayerMoveScript>();
    }
 // Start is called before the first frame update
 void Start()
 {
     anim = GetComponent<Animator>();
     Attack1_collider_toggle = Attack1ColliderObject.GetComponent<Toggle>();
     Attack2_collider_toggle = Attack2ColliderObject.GetComponent<Toggle>();
     Attack3_collider_toggle = Attack3ColliderObject.GetComponent<Toggle>();
     player_status = this.gameObject.GetComponent<PlayerStatus>();
     GardObject_toggle = GardObject.GetComponent<Toggle>();
     GardObject_toggle.isOn = false;
     GameController = GameObject.FindWithTag("GameController");
     game_controller_script = GameController.GetComponent<GameControllerScript>();
     AttackSoundObject = game_controller_script.AttackSoundObject;
     GardSoundObject = game_controller_script.GardSoundObject;
     SoundChangeAttack = AttackSoundObject.GetComponent<SoundChnageAttack>();
     Myinitcolor = this.gameObject.GetComponent<SpriteRenderer>().color;
     player_move_script = this.gameObject.GetComponent<PlayerMoveScript>();
 }