Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Commit

Permalink
updated lumin platform definition (#62)
Browse files Browse the repository at this point in the history
* updated lumin platform definition

* reverted name change
  • Loading branch information
StephenHodgson authored Apr 14, 2020
1 parent 8fbafac commit 99b4ba0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions LuminPlatform.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,19 @@ public override bool IsAvailable
return !UnityEngine.Application.isEditor;
#else
return false;
#endif
}
}

/// <inheritdoc />
public override bool IsBuildTargetAvailable
{
get
{
#if UNITY_EDITOR
return UnityEditor.EditorUserBuildSettings.activeBuildTarget == UnityEditor.BuildTarget.Lumin;
#else
return false;
#endif
}
}
Expand Down

0 comments on commit 99b4ba0

Please sign in to comment.