[mono] Fixes #17936 as GodotSharp (Core\Basic.cs) requires C#7 now, but we most probably should keep C#6 yet
(cherry picked from commit 5677aed175
)
This commit is contained in:
parent
b4733a1da9
commit
3a430e46b9
|
@ -49,20 +49,20 @@ namespace Godot
|
||||||
|
|
||||||
public Vector3 x
|
public Vector3 x
|
||||||
{
|
{
|
||||||
get => GetAxis(0);
|
get { return GetAxis(0); }
|
||||||
set => SetAxis(0, value);
|
set { SetAxis(0, value); }
|
||||||
}
|
}
|
||||||
|
|
||||||
public Vector3 y
|
public Vector3 y
|
||||||
{
|
{
|
||||||
get => GetAxis(1);
|
get { return GetAxis(1); }
|
||||||
set => SetAxis(1, value);
|
set { SetAxis(1, value); }
|
||||||
}
|
}
|
||||||
|
|
||||||
public Vector3 z
|
public Vector3 z
|
||||||
{
|
{
|
||||||
get => GetAxis(2);
|
get { return GetAxis(2); }
|
||||||
set => SetAxis(2, value);
|
set { SetAxis(2, value); }
|
||||||
}
|
}
|
||||||
|
|
||||||
private Vector3 _x;
|
private Vector3 _x;
|
||||||
|
|
Loading…
Reference in New Issue