public void UnloadWDT(FileWDT wdt) { if (wdt != null) { ResourceLoader_unloadWDT(wdt.pointer); } }
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)); }
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)); }