public static SetLocalXYZ ( this transform, float x, float y, float z ) : void | ||
transform | this | |
x | float | |
y | float | |
z | float | |
return | void |
public static void SetLocalXYZ(this Transform transform, float x, float y, float z)
{
transform.localPosition = new Vector3(x, y, z);
}