protected override void Awake() { base.Awake(); hitbox = GetComponent <Collider>(); rotateAndBounce = GetComponentInChildren <RotateAndBounce>(); rotateAndBounce.SetOrigin(transform.position); }
protected override void Awake() { rotateAndBounce = GetComponentInChildren <RotateAndBounce>(); hitbox = GetComponent <Collider>(); base.Awake(); }