瀏覽代碼

Merge pull request #9588 from MackeyK24/master

Scene Manager: V5.0.0-A31
sebavan 4 年之前
父節點
當前提交
a3aec76d70
共有 2 個文件被更改,包括 15 次插入11 次删除
  1. 4 0
      Playground/libs/babylon.manager.d.ts
  2. 11 11
      Playground/libs/babylon.manager.js

+ 4 - 0
Playground/libs/babylon.manager.d.ts

@@ -34,6 +34,10 @@ declare module BABYLON {
         static GetLocalStorageItem(key: string): string;
         static GetLocalStorageItem(key: string): string;
         /** Set an item to top window local storage. */
         /** Set an item to top window local storage. */
         static SetLocalStorageItem(key: string, value: string): void;
         static SetLocalStorageItem(key: string, value: string): void;
+        /** Get an item from top window session storage. */
+        static GetSessionStorageItem(key: string): string;
+        /** Set an item to top window session storage. */
+        static SetSessionStorageItem(key: string, value: string): void;
         /** Store data object in the window state cache */
         /** Store data object in the window state cache */
         static SetWindowState(name: string, data: any): void;
         static SetWindowState(name: string, data: any): void;
         /** Retrieve data object from the window state cache */
         /** Retrieve data object from the window state cache */

文件差異過大導致無法顯示
+ 11 - 11
Playground/libs/babylon.manager.js