public void StringRequester(RequesterCallbackFn callback) { RequesterMode = RequesterMode.String; RequesterStringText = string.Empty; RequesterStringCallback = callback; RefreshUi(); }
public void FileRequester(RequesterCallbackFn callback, bool isSaving) { RequesterMode = RequesterMode.File; RequesterFileCallback = callback; RequesterFileIsSaving = isSaving; RequesterFileOldPath = string.Empty; RequesterFilePath = System.IO.Directory.GetCurrentDirectory(); RequesterFilePageSize = ((Screen.height / 2) - 16 - (isSaving ? 16 : 0)) / 16; RefreshUi(); }