using System.IO; using UnityEngine; namespace Funique { /// /// Store all the Funique use path here
/// And have some path related methods
/// But it seems System.IO can deal 90% of the problem
/// Not sure if this class is need it... ///
public sealed class FPath { public static void Init() { if (!Directory.Exists(AndroidMoviePath)) Directory.CreateDirectory(AndroidMoviePath); if (!Directory.Exists(AndroidImagePath)) Directory.CreateDirectory(AndroidImagePath); } public static string AndroidMoviePath => "/storage/emulated/0/Movies"; public static string AndroidImagePath => "/storage/emulated/0/DCIM"; } }