少年修仙传客户端基础资源
client_Wu Xijin
2019-05-20 bee165003825b355ae3e718e60a1f3d69ae7ba6c
Assets/Editor/Tool/ClientPackage.cs
@@ -591,11 +591,11 @@
    public static void SetCreateRoleAnimation()
    {
        var from = "Assets/Editor/Video/CreateRoleMovie.mp4";
        var to = "Assets/StreamingAssets/CreateRoleMovie.mp4";
        var to = "Assets/Resources/CreateRoleMovie.mp4";
        if (!Directory.Exists(Application.dataPath + "StreamingAssets"))
        if (!Directory.Exists(Application.dataPath + "/Resources"))
        {
            Directory.CreateDirectory(Application.dataPath + "StreamingAssets");
            Directory.CreateDirectory(Application.dataPath + "/Resources");
        }
        if (AssetDatabase.LoadAssetAtPath<UnityEngine.Video.VideoClip>(to) == null)