private void StandUp() { _isSitting = false; _animController.SetBool(Sit, _isSitting); _animController.Rebind(); _animController.SetBool(Up, true); var pos = transform.position; var exitPos = new Vector3(pos.x, pos.y + 1, pos.z); gameObject.transform.position = exitPos; GetComponent <Collider2D>().isTrigger = false; currentChair.HideBackrest(); currentChair = null; }