示例#1
0
 private static void InjectionDetectorTargetCompatibleCheck()
 {
     if (!IsInjectionDetectorTargetCompatible())
     {
         if (!File.Exists(ActEditorGlobalStuff.injectionDataPath))
         {
             return;
         }
         Debug.LogWarning(ActEditorGlobalStuff.LOG_PREFIX + "Injection Detector is not available on selected platform (" + EditorUserBuildSettings.activeBuildTarget + ") and will be disabled!");
         ActEditorGlobalStuff.CleanInjectionDetectorData();
     }
 }