This commit is contained in:
CortexCore
2024-06-14 14:12:02 +08:00
parent 349877fe7a
commit ca93bd2c56
9 changed files with 24 additions and 24 deletions

View File

@@ -1,4 +1,4 @@
#if UNITY_64
#if UNITY_5_3_OR_NEWER
using System;
using System.Collections;
using System.Collections.Concurrent;
@@ -34,7 +34,7 @@ namespace BITKit.IO
{
private const string DefaultPath = nameof(ApplicationFile)+"."+nameof(DefaultPath);
#if UNITY_64
#if UNITY_5_3_OR_NEWER
[UnityEngine.RuntimeInitializeOnLoadMethod]
private static void Reload()
{
@@ -66,7 +66,7 @@ namespace BITKit.IO
get
{
var bp = new BrowserProperties();
#if UNITY_64
#if UNITY_5_3_OR_NEWER
if (PlayerPrefs.HasKey(DefaultPath))
{
bp.initialDir = PlayerPrefs.GetString(DefaultPath);