Esempio n. 1
0
        /// <summary>
        ///     Override to modify the scene before building.
        /// </summary>
        /// <remarks>This is called just after the scene is loaded by <see cref="GetScenes" />.</remarks>
        /// <param name="sceneName">The name of the scene to modify</param>
        public virtual void ProcessScene(string sceneName)
        {
#pragma warning disable 0618
            UnityPlayerBuilder.ProcessScene(sceneName);
#pragma warning restore 0618
        }
Esempio n. 2
0
        /// <inheritdoc cref="IPlayerBuildEvents" />
        public virtual void BeginPackage(WorkerPlatform workerType, BuildTarget target, Config config, string packagePath)
        {
#pragma warning disable 0618
            UnityPlayerBuilder.GetPackager(workerType, target, config).Prepare(packagePath);
#pragma warning restore 0618
        }