internal static string GetTargetStringFrom(BuildTargetGroup targetGroup, BuildTarget target) { if (targetGroup == BuildTargetGroup.Unknown) { throw new ArgumentException("targetGroup must be valid"); } string result; if (targetGroup != BuildTargetGroup.Facebook) { if (targetGroup != BuildTargetGroup.Standalone) { result = ModuleManager.GetTargetStringFromBuildTargetGroup(targetGroup); } else { result = ModuleManager.GetTargetStringFromBuildTarget(target); } } else { result = "Facebook"; } return(result); }
internal static IScriptingImplementations GetScriptingImplementations(BuildTargetGroup target) { if (target == BuildTargetGroup.Standalone) { return((IScriptingImplementations) new DesktopStandalonePostProcessor.ScriptingImplementations()); } return(ModuleManager.GetScriptingImplementations(ModuleManager.GetTargetStringFromBuildTargetGroup(target))); }
internal static IScriptingImplementations GetScriptingImplementations(BuildTargetGroup target) { IScriptingImplementations result; if (target == BuildTargetGroup.Standalone) { result = new DesktopStandalonePostProcessor.ScriptingImplementations(); } else { result = ModuleManager.GetScriptingImplementations(ModuleManager.GetTargetStringFromBuildTargetGroup(target)); } return(result); }
internal static IPluginImporterExtension GetPluginImporterExtension(BuildTargetGroup target) { return(ModuleManager.GetPluginImporterExtension(ModuleManager.GetTargetStringFromBuildTargetGroup(target))); }
internal static IScriptingImplementations GetScriptingImplementations(BuildTargetGroup target) { return(ModuleManager.GetScriptingImplementations(ModuleManager.GetTargetStringFromBuildTargetGroup(target))); }