/// <summary>Save this NavMesh to its file.</summary> public void Save() { InternalUnsafeMethods.Save__Args _args = new InternalUnsafeMethods.Save__Args() { }; InternalUnsafeMethods.Save()(ObjectPtr, _args); }
/// <summary>Saves the ActionMap to a file or dumps it to the console.</summary> /// <description> /// /// </description> /// <param name="fileName">The file path to save the ActionMap to. If a filename is not specified the ActionMap will be dumped to the console.</param> /// <param name="append">Whether to write the ActionMap at the end of the file or overwrite it.</param> /// <code> /// // Write out the actionmap into the config.cs file /// moveMap.save( "scripts/client/config.cs" ); /// </code> public void Save(string fileName = "", bool append = false) { InternalUnsafeMethods.Save__Args _args = new InternalUnsafeMethods.Save__Args() { fileName = fileName, append = append, }; InternalUnsafeMethods.Save()(ObjectPtr, _args); }
/// <description> /// Saves the module definition to the file it was loaded from (if any). /// </description> /// <returns>(bool success) Whether the module definition was saved or not.</returns> public bool Save() { InternalUnsafeMethods.Save__Args _args = new InternalUnsafeMethods.Save__Args() { }; bool _engineResult = InternalUnsafeMethods.Save()(ObjectPtr, _args); return(_engineResult); }
/// <description> /// Returns the script filename of where the CubemapData object was defined. This is used by the material editor. /// </description> public void Save(string filename = "", GFXFormat format = GFXFormat.GFXFormatBC1) { InternalUnsafeMethods.Save__Args _args = new InternalUnsafeMethods.Save__Args() { filename = filename, format = (int)format, }; InternalUnsafeMethods.Save()(ObjectPtr, _args); }
/// <summary>Saves the terrain block's terrain file to the specified file name.</summary> /// <description> /// /// </description> /// <param name="fileName">Name and path of file to save terrain data to.</param> /// <returns>True if file save was successful, false otherwise</returns> public bool Save(string fileName) { InternalUnsafeMethods.Save__Args _args = new InternalUnsafeMethods.Save__Args() { fileName = fileName, }; bool _engineResult = InternalUnsafeMethods.Save()(ObjectPtr, _args); return(_engineResult); }