private void ApplyModifications() { var savedData = (JsonManager.LoadDataFromJSON <TransformData>(TransformID)) as TransformData; if (savedData == null || !enabled || !_on) { return; } savedData.ApplyToTransform(transform, _positionSpace, _rotationSpace); // Scale - Global인 경우 적용 if (_scaleSpace.Equals(Spaces.World)) { Vector3 savedLossy = savedData.globalScale; Vector3 nowLossy = transform.lossyScale; (float x, float y, float z)factor = (savedLossy.x / nowLossy.x, savedLossy.y / nowLossy.y, savedLossy.z / nowLossy.z); transform.localScale = new Vector3( transform.localScale.x * factor.x, transform.localScale.y * factor.y, transform.localScale.z * factor.z ); } }