public override void OnPostprocessFile(IAkyuiLoader loader, IPathGetter pathGetter) { var gitKeepPath = Path.Combine(pathGetter.AssetOutputDirectoryPath, ".gitkeep"); if (File.Exists(gitKeepPath)) { return; } File.Create(gitKeepPath).Close(); }
static Paths() { switch (Application.platform) { case RuntimePlatform.Android: PathGetter = new AndroidPathGetter(); break; case RuntimePlatform.IPhonePlayer: PathGetter = new IosPathGetter(); break; case RuntimePlatform.OSXEditor: PathGetter = new MacEditorPathGetter(); break; default: throw new NotImplementedException("unsupported platform " + Application.platform); } }
public virtual void OnPostprocessFile(IAkyuiLoader loader, IPathGetter pathGetter) { }
public DownloadMP3Command(IPathGetter pathGetter) { this.pathGetter = pathGetter; }
public DownloadToFileCommand(IPathGetter pathGetter) { this.pathGetter = pathGetter; }