// Start is called before the first frame update void Start() { playerInfo = player.GetComponent <PlayerInform>(); radius = rect_Background.rect.width * 0.4f; moveSpeed *= PlayerPrefs.GetFloat(LATEST_SPEED) + 1; }
// Start is called before the first frame update void Start() { playerInform = player.GetComponent <PlayerInform>(); shot_routine = BossPattern(); fp_routine = FixedPattern(); contact_dmg_routine = ContactDamage(); StartCoroutine(shot_routine); StartCoroutine(fp_routine); animator = GetComponentInChildren <Animator>(); }