예제 #1
0
        static void Configure()
        {
            s_materialHistory = TypeExtensions.FindOrCreateScriptableAsset <DaydreamRendererMaterialHistory>(kAssetPathBackup, "conversion_materialhistory");

            List <GameObject> roots = Utilities.GetAllRoots();

            GatherMaterials(roots.ToArray());
        }
        static void Configure()
        {
            s_dynamicMaterialHistory   = TypeExtensions.FindOrCreateScriptableAsset <DaydreamRendererMaterialHistory>(m_assetPathBackup, "dynamicmaterialhistory");
            s_listContainerDynamicMats = new SerializedObject(s_dynamicMaterialHistory);

            s_staticMaterialHistory   = TypeExtensions.FindOrCreateScriptableAsset <DaydreamRendererMaterialHistory>(m_assetPathBackup, "materialhistory");
            s_listContainerStaticMats = new SerializedObject(s_staticMaterialHistory);
        }