void LateUpdate() { if (IsInBelt()) { FlashlightCommon.OrientFlashlight(transform, _headset); } }
void LateUpdate() { if (IsHeadAttached) { transform.position = Camera.main.transform.position + Camera.main.transform.rotation * Vector3.up * 0.3f; FlashlightCommon.OrientFlashlight(transform, Camera.main.transform); } }