public static IEnumerator ReadingBytesAsync(string filePath, Action <byte[]> onReaded, bool isLog) { yield return(ReadingBytes(PathInfo.ConvertPersistentPathToUwr(filePath), onReaded, isLog)); }
public void ReadBytesAsync(string filePath, Action <byte[]> onReaded, bool isLog = true) { GameLogicUpdateSystem.StartCoroutine(ReadingBytes(PathInfo.ConvertPersistentPathToUwr(filePath), onReaded, isLog)); }