| | |
| | | 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)
|