From 99b4ba020d205f8caa8789ed9c6335c19ceac914 Mon Sep 17 00:00:00 2001 From: Stephen Hodgson Date: Tue, 14 Apr 2020 09:32:47 -0400 Subject: [PATCH] updated lumin platform definition (#62) * updated lumin platform definition * reverted name change --- LuminPlatform.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/LuminPlatform.cs b/LuminPlatform.cs index f25b690a..61159428 100644 --- a/LuminPlatform.cs +++ b/LuminPlatform.cs @@ -17,6 +17,19 @@ public override bool IsAvailable return !UnityEngine.Application.isEditor; #else return false; +#endif + } + } + + /// + public override bool IsBuildTargetAvailable + { + get + { +#if UNITY_EDITOR + return UnityEditor.EditorUserBuildSettings.activeBuildTarget == UnityEditor.BuildTarget.Lumin; +#else + return false; #endif } }