v1.0.31
- CN: FluentKit 增加 Abs、Sign、Lerp、LocalScaleX、Y、Z
- EN: FluentKit add Abs、Sign、Lerp、LocalScaleX、Y、Z
var scaleX = gameObj.LocalScaleX();
scaleX = component.LocalScaleX();
var scaleY = gameObject.LocalScaleY();
scaleY = component.LocalScaleY();
var scaleZ = gameObj.LocalScaleZ();
scaleZ = component.LocalScaleZ();
var result = -1.0f.Abs(); // result is 1.0f
result = 0.5f.Lerp(0.1f,0.5f); // result is 0.3f
result = -5.0f.Sign(); // result is -1.0f