Beispiel #1
0
        private ScriptExportType CreateType(TypeReference type)
        {
            ScriptExportType exportType = new ScriptExportMonoType(type);

            m_types.Add(exportType.FullName, exportType);
            exportType.Init(this);
            return(exportType);
        }
Beispiel #2
0
        private ScriptExportType CreateType(TypeReference type, bool isUnique = true)
        {
            ScriptExportType exportType = new ScriptExportMonoType(type);

            if (isUnique)
            {
                m_types.Add(exportType.FullName, exportType);
            }
            exportType.Init(this);
            return(exportType);
        }