// Use this for initialization void Start() { isWingOpen = true; //beetles wings are open at first BossAnim = GetComponent <Animator>(); player = GameObject.FindGameObjectWithTag("Player").GetComponent <Transform>(); _neptoScript = _neptoScript.GetComponent <BossNepto>(); beetleCollider = GetComponent <Collider>(); BossRenderer = BossRenderer.GetComponent <SkinnedMeshRenderer>(); }