Assets.Scripts.Utils.TransformEx.SetXY C# (CSharp) Метод

SetXY() публичный статический Метод

public static SetXY ( this transform, float x, float y ) : void
transform this
x float
y float
Результат void
        public static void SetXY(this Transform transform, float x, float y)
        {
            transform.position = new Vector3(x, y, transform.position.z);
        }