[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:
Alexander Alekseev 2018-04-03 09:48:03 +03:00
parent 59710880cd
commit 5677aed175

View file

@ -49,20 +49,20 @@ namespace Godot
public Vector3 x
{
get => GetAxis(0);
set => SetAxis(0, value);
get { return GetAxis(0); }
set { SetAxis(0, value); }
}
public Vector3 y
{
get => GetAxis(1);
set => SetAxis(1, value);
get { return GetAxis(1); }
set { SetAxis(1, value); }
}
public Vector3 z
{
get => GetAxis(2);
set => SetAxis(2, value);
get { return GetAxis(2); }
set { SetAxis(2, value); }
}
private Vector3 _x;