void Start() { bazekoriBehavior = gameObject.GetComponentInParent <BazekoriBehavior>(); collidTrigger = GetComponent <Collider>(); InvokeRepeating("ActivateCollider", 1f, attackRate); }