public override void OnEnable()
 {
     base.OnEnable();
     InitializeReorderableLists();
     m_SemVersionRanges          = new SemVersionRangesFactory();
     m_AssemblyName              = extraDataSerializedObject.FindProperty("assemblyName");
     m_AllowUnsafeCode           = extraDataSerializedObject.FindProperty("allowUnsafeCode");
     m_UseGUIDs                  = extraDataSerializedObject.FindProperty("useGUIDs");
     m_AutoReferenced            = extraDataSerializedObject.FindProperty("autoReferenced");
     m_OverrideReferences        = extraDataSerializedObject.FindProperty("overrideReferences");
     m_CompatibleWithAnyPlatform = extraDataSerializedObject.FindProperty("compatibleWithAnyPlatform");
     m_PlatformCompatibility     = extraDataSerializedObject.FindProperty("platformCompatibility");
 }
コード例 #2
0
        public override void OnEnable()
        {
            base.OnEnable();
            m_AssemblyName = extraDataSerializedObject.FindProperty("assemblyName");
            m_Defines      = CompilationPipeline.GetDefinesFromAssemblyName(m_AssemblyName.stringValue);

            InitializeReorderableLists();
            m_SemVersionRanges          = new SemVersionRangesFactory();
            m_AllowUnsafeCode           = extraDataSerializedObject.FindProperty("allowUnsafeCode");
            m_UseGUIDs                  = extraDataSerializedObject.FindProperty("useGUIDs");
            m_AutoReferenced            = extraDataSerializedObject.FindProperty("autoReferenced");
            m_OverrideReferences        = extraDataSerializedObject.FindProperty("overrideReferences");
            m_CompatibleWithAnyPlatform = extraDataSerializedObject.FindProperty("compatibleWithAnyPlatform");
            m_PlatformCompatibility     = extraDataSerializedObject.FindProperty("platformCompatibility");
            m_NoEngineReferences        = extraDataSerializedObject.FindProperty("noEngineReferences");
            AssemblyReloadEvents.afterAssemblyReload += AfterAssemblyReload;
        }
コード例 #3
0
        public override void OnEnable()
        {
            base.OnEnable();
            m_AssemblyName = extraDataSerializedObject.FindProperty("assemblyName");
            InitializeReorderableLists();
            m_SemVersionRanges          = new SemVersionRangesFactory();
            m_AllowUnsafeCode           = extraDataSerializedObject.FindProperty("allowUnsafeCode");
            m_UseGUIDs                  = extraDataSerializedObject.FindProperty("useGUIDs");
            m_AutoReferenced            = extraDataSerializedObject.FindProperty("autoReferenced");
            m_OverrideReferences        = extraDataSerializedObject.FindProperty("overrideReferences");
            m_CompatibleWithAnyPlatform = extraDataSerializedObject.FindProperty("compatibleWithAnyPlatform");
            m_PlatformCompatibility     = extraDataSerializedObject.FindProperty("platformCompatibility");
            m_NoEngineReferences        = extraDataSerializedObject.FindProperty("noEngineReferences");
            m_AssemblyProvider          = EditorCompilationInterface.Instance.PrecompiledAssemblyProvider;

            AssemblyReloadEvents.afterAssemblyReload += AfterAssemblyReload;
        }