예제 #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));
        }