AssetPostprocessor 使用

来源:互联网 发布:kindle有必要买吗 知乎 编辑:程序博客网 时间:2024/06/05 01:12
using UnityEngine;using UnityEditor;using System.IO;class AssetPostprocessor : AssetPostprocessor {    static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets, string[] movedAssets, string[] movedFromAssetPaths)    {            }void OnPreprocessModel () {}void OnPostprocessModel(GameObject model){}    void OnPreprocessTexture () {    }}

0 0
原创粉丝点击