Пример #1
0
 public void UnloadWDT(FileWDT wdt)
 {
     if (wdt != null)
     {
         ResourceLoader_unloadWDT(wdt.pointer);
     }
 }
Пример #2
0
        public MapTileSceneNode AddMapTileSceneNode(FileWDT filewdt, int row, int col, SceneNode parent)
        {
            IntPtr raw = SceneManager_addMapTileSceneNode(filewdt.pointer, row, col, parent == null ? IntPtr.Zero : parent.pointer);

            if (raw == IntPtr.Zero)
            {
                return(null);
            }
            return(new MapTileSceneNode(raw));
        }
Пример #3
0
        public WDTSceneNode AddWDTSceneNode(FileWDT filewdt, SceneNode parent)
        {
            IntPtr raw = SceneManager_addWDTSceneNode(filewdt.pointer, parent == null ? IntPtr.Zero : parent.pointer);

            if (raw == IntPtr.Zero)
            {
                return(null);
            }
            return(new WDTSceneNode(raw));
        }