mirror of
https://github.com/godotengine/godot
synced 2024-09-15 23:16:38 +00:00
[mono] Fixes #17936 as GodotSharp (Core\Basic.cs) requires C#7 now, but we most probably should keep C#6 yet
This commit is contained in:
parent
59710880cd
commit
5677aed175
|
@ -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 a new issue