mirror of
https://github.com/ConjureETS/MTI860_VR_Multi_Controller.git
synced 2026-03-24 04:21:15 +00:00
20 lines
397 B
C#
20 lines
397 B
C#
namespace Assets.Scripts.Utilities
|
|
{
|
|
public class Position
|
|
{
|
|
private float x { get; set; }
|
|
private float y { get; set; }
|
|
|
|
public Position(float x, float y)
|
|
{
|
|
this.x = x;
|
|
this.y = y;
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return "[" + x.ToString() + "|" + y.ToString() + "]";
|
|
}
|
|
}
|
|
}
|