inz-00/Assets/Common/UnityPointExtensions.cs
2019-08-29 21:41:21 +02:00

12 lines
237 B
C#

using UnityEngine;
namespace Assets.Common
{
public static class UnityPointExtensions
{
public static Vector3 ToVector3(this Point p)
{
return new Vector3((float)p.x, 0, (float)p.y);
}
}
}