summaryrefslogtreecommitdiffstats
path: root/Third_Party/at.pimaker.ltcgi/Editor/LTCGI_Include.cs
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2024-05-13 10:54:57 -0700
committeryum <yum.food.vr@gmail.com>2024-05-13 10:54:57 -0700
commit69a2a65710a11cbd7bfa88e35fba89c5eb412b11 (patch)
tree6d2fa8e5069783936759d85b3a58bf45ca104af2 /Third_Party/at.pimaker.ltcgi/Editor/LTCGI_Include.cs
parent1a4298d33de4420b22c723144a1afbe9a3c61b59 (diff)
Remove everything except headers, LICENSE and README from LTCGIv0.0.0
Diffstat (limited to 'Third_Party/at.pimaker.ltcgi/Editor/LTCGI_Include.cs')
-rw-r--r--Third_Party/at.pimaker.ltcgi/Editor/LTCGI_Include.cs42
1 files changed, 0 insertions, 42 deletions
diff --git a/Third_Party/at.pimaker.ltcgi/Editor/LTCGI_Include.cs b/Third_Party/at.pimaker.ltcgi/Editor/LTCGI_Include.cs
deleted file mode 100644
index 3070a03..0000000
--- a/Third_Party/at.pimaker.ltcgi/Editor/LTCGI_Include.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-#if UNITY_EDITOR
-
-// based on similar script from Bakery
-
-using System;
-using UnityEngine;
-using UnityEditor;
-using UnityEditor.Build;
-
-[InitializeOnLoad]
-public class LTCGI_Define : IActiveBuildTargetChanged
-{
- public int callbackOrder => 0;
-
- static void AddDefine()
- {
- var platform = EditorUserBuildSettings.selectedBuildTargetGroup;
- var defines = PlayerSettings.GetScriptingDefineSymbolsForGroup(platform);
- if (!defines.Contains("LTCGI_INCLUDED"))
- {
- if (defines.Length > 0)
- {
- defines += ";";
- }
- defines += "LTCGI_INCLUDED";
- PlayerSettings.SetScriptingDefineSymbolsForGroup(platform, defines);
- }
- }
-
- static LTCGI_Define()
- {
- AddDefine();
- pi.LTCGI.LTCGI_Controller.MigratoryBirdsDontMigrateAsMuchAsWeDoButThisFunctionWillTakeCareOfItNonetheless();
- }
-
- public void OnActiveBuildTargetChanged(BuildTarget prev, BuildTarget cur)
- {
- AddDefine();
- }
-}
-
-#endif