Ejemplo n.º 1
0
        private void OnEnable()
        {
            m_propertyLoader = serializedObject.FindProperty("m_loader");
            m_list           = new ResourcesAssetGroupAssetListDrawer(serializedObject.FindProperty("m_assets"));

            m_list.Enable();
        }
        private void OnEnable()
        {
            m_propertyUnloadTrackedAssetsOnUninitialize = serializedObject.FindProperty("m_unloadTrackedAssetsOnUninitialize");

            m_listLoaders            = new AssetReferenceListDrawer(serializedObject.FindProperty("m_loaders"));
            m_listGroups             = new AssetReferenceListDrawer(serializedObject.FindProperty("m_groups"));
            m_listPreloadAssets      = new ReorderableListDrawer(serializedObject.FindProperty("m_preload"));
            m_listPreloadAssetsAsync = new ReorderableListDrawer(serializedObject.FindProperty("m_preloadAsync"));

            m_listLoaders.Enable();
            m_listGroups.Enable();
            m_listPreloadAssets.Enable();
            m_listPreloadAssetsAsync.Enable();
        }
Ejemplo n.º 3
0
 private void OnEnable()
 {
     m_list = new ReorderableListDrawer(serializedObject.FindProperty("m_containers"));
     m_list.Enable();
 }