Merge pull request #17940 from Alexander-Alekseev/mono_keep_csharp6

[mono] Fixes #17936 as GodotSharp (Core\Basic.cs) requires C#7 now
This commit is contained in:
Rémi Verschelde 2018-04-03 12:55:34 +02:00 committed by GitHub
commit fa9104204f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;