Ejemplo n.º 1
0
        private static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets, string[] movedAssets, string[] movedFromAssetPaths)
        {
            ShaderUtility _instance = ShaderUtility.Instance;

            // Reloads shader information
            _instance.ReloadShaderUtility();
        }
 public void OnEnable()
 {
     m_instance           = (target as ShaderUtility);
     m_shaderListProperty = serializedObject.FindProperty("m_shaderList");
 }