We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b519ac commit bfaf5eeCopy full SHA for bfaf5ee
Unity/Assets/NativeScript/Bindings.cs
@@ -40,7 +40,7 @@ public static class ObjectStore
40
public static void Init(int maxObjects)
41
{
42
ObjectStore.maxObjects = maxObjects;
43
- objectHandleCache = new Dictionary<object, int>(maxObjects);
+ objectHandleCache = new Dictionary<object, int>(maxObjects);
44
handles = new Stack<int> (maxObjects);
45
46
// Initialize the objects as all null plus room for the
@@ -93,8 +93,7 @@ public static int GetHandle(object obj)
93
94
lock (objects)
95
96
- // A handle with a value of 0 is NULL
97
- int handle = 0;
+ int handle;
98
99
// Get handle from object cache
100
if (objectHandleCache.TryGetValue(obj, out handle))
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments