You've already forked com.unity.ide.cursor
mirror of
https://github.com/boxqkrtm/com.unity.ide.cursor.git
synced 2026-05-14 22:30:10 +00:00
Add clarifying comment for Unity 2019.4 C# 7.3 compatibility
Co-authored-by: OmarAlFarajat <OmarAlFarajat@users.noreply.github.com> Co-authored-by: boxqkrtm <8157743+boxqkrtm@users.noreply.github.com>
This commit is contained in:
@@ -584,6 +584,7 @@ namespace Microsoft.Unity.VisualStudio.Editor
|
|||||||
var application = Path;
|
var application = Path;
|
||||||
|
|
||||||
var workspace = TryFindWorkspace(directory);
|
var workspace = TryFindWorkspace(directory);
|
||||||
|
// Use version-compatible null-coalescing for Unity 2019.4 (C# 7.3) support
|
||||||
#if UNITY_2020_2_OR_NEWER
|
#if UNITY_2020_2_OR_NEWER
|
||||||
workspace ??= directory;
|
workspace ??= directory;
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user