[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:
Alexander Alekseev 2018-04-03 09:48:03 +03:00 committed by Hein-Pieter van Braam
parent b4733a1da9
commit 3a430e46b9
1 changed files with 6 additions and 6 deletions

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;