public ScriptExportType GetExportType(ScriptExportManager exportManager, ScriptIdentifier scriptID) { if (ScriptingBackEnd == ScriptingBackEnd.Unknown) { throw new Exception("You have to set backend first"); } return(m_manager.GetExportType(exportManager, scriptID)); }
public SerializableType GetSerializableType(ScriptIdentifier scriptID) { string uniqueName = scriptID.UniqueName; if (m_serializableTypes.TryGetValue(uniqueName, out SerializableType type)) { return(type); } return(m_manager.GetSerializableType(scriptID)); }
public bool IsValid(ScriptIdentifier scriptID) { if (ScriptingBackEnd == ScriptingBackEnd.Unknown) { return(false); } if (scriptID.IsDefault) { return(false); } return(m_manager.IsValid(scriptID)); }