/// <summary> /// Creates a game settings asset that contains necessary data for starting up the game (for example initial scene). /// </summary> /// <param name="buildFolder">Absolute path to the root folder of the build. This is where the settings assets /// will be output.</param> /// <param name="info">Platform information about the current build.</param> private static void CreateStartupSettings(string buildFolder, PlatformInfo info) { IntPtr infoPtr = IntPtr.Zero; if (info != null) { infoPtr = info.GetCachedPtr(); } Internal_CreateStartupSettings(buildFolder, infoPtr); }
/// <summary> /// Finds all used resources by the build and packages them into an output folder. /// </summary> /// <param name="buildFolder">Absolute path to the root folder of the build. This is where the packaged resource /// folder be placed.</param> /// <param name="info">Platform information about the current build.</param> private static void PackageResources(string buildFolder, PlatformInfo info) { IntPtr infoPtr = IntPtr.Zero; if (info != null) { infoPtr = info.GetCachedPtr(); } Internal_PackageResources(buildFolder, infoPtr); }
/// <summary> /// Injects icons specified in <see cref="PlatformInfo"/> into an executable at the specified path. /// </summary> /// <param name="filePath">Absolute path to the executable to inject icons in.</param> /// <param name="info">Object containing references to icons to inject.</param> private static void InjectIcons(string filePath, PlatformInfo info) { IntPtr infoPtr = IntPtr.Zero; if (info != null) { infoPtr = info.GetCachedPtr(); } Internal_InjectIcons(filePath, infoPtr); }
/// <summary> /// Finds all used resources by the build and packages them into an output folder. /// </summary> /// <param name="buildFolder">Absolute path to the root folder of the build. This is where the packaged resource /// folder be placed.</param> /// <param name="info">Platform information about the current build.</param> private static void PackageResources(string buildFolder, PlatformInfo info) { IntPtr infoPtr = IntPtr.Zero; if (info != null) infoPtr = info.GetCachedPtr(); Internal_PackageResources(buildFolder, infoPtr); }
/// <summary> /// Injects icons specified in <see cref="PlatformInfo"/> into an executable at the specified path. /// </summary> /// <param name="filePath">Absolute path to the executable to inject icons in.</param> /// <param name="info">Object containing references to icons to inject.</param> private static void InjectIcons(string filePath, PlatformInfo info) { IntPtr infoPtr = IntPtr.Zero; if (info != null) infoPtr = info.GetCachedPtr(); Internal_InjectIcons(filePath, infoPtr); }
/// <summary> /// Creates a game settings asset that contains necessary data for starting up the game (for example initial scene). /// </summary> /// <param name="buildFolder">Absolute path to the root folder of the build. This is where the settings assets /// will be output.</param> /// <param name="info">Platform information about the current build.</param> private static void CreateStartupSettings(string buildFolder, PlatformInfo info) { IntPtr infoPtr = IntPtr.Zero; if (info != null) infoPtr = info.GetCachedPtr(); Internal_CreateStartupSettings(buildFolder, infoPtr); }