When creating persistent systems, which need to be available through the complete application lifecycle, a common approach is to create an init scene containing them. This perfectly works on builds but has a big downside in the editor during development - everytime you want to playtest a scene, you need to open the init scene first, which can become pretty time consuming in the long run. That's why we created Startup Manager!
Startup Manager provides to you an easy way to setup and initialize your persistent game systems at application startup - no init scene required and working from any scene even in the editor. Say goodbye to your init scene and work faster than ever!
For version 2 we reworked the system to be more modular and extendable and introduced a new powerful feature called Startup Profiles. They contain your startup object definitions and can easily be switched out in the editor. This allows you to create different profiles during development for prototyping, debugging or release versions and easily change them as you need. Additionally you can extend the system by writing your own custom profiles, allowing you to configure the startup process of your game as you like!
Features
Initialize persistent game objects at startup without an extra init scene
Use Startup Profiles to easily create cutom startup definitions
Easily switch between different profiles
Extend the system with your own custom startup profiles
Test your scenes faster
Clean and easy to use
Complete source code included
Get started in minutes with our quick start guide
How It Works
Startup Manager automatically instantiates the prefabs you define and marks them with DontDestroyOnLoad right before the first scene is loaded. So no matter from which scene you enter playmode, all your persistent systems will be ready.
Bundle Options
Startup Manager is part of our Ultimate Asset Bundle, which contains all of our currently available and upcoming assets for a reduced price.
在创建需要在整个应用程序生命周期中都可用的持久系统时,一种常见的方法是创建包含这些系统的初始场景。这种方法在构建时非常有效,但在开发过程中的编辑器中却有一个很大的缺点--每次要测试一个场景时,都需要先打开初始场景,从长远来看会非常耗时。这就是我们创建启动管理器的原因!
启动管理器为您提供了一种在应用程序启动时设置和初始化持久性游戏系统的简单方法--无需初始场景,甚至可以在编辑器中的任何场景中工作。告别初始化场景,工作速度比以往任何时候都快!
在第 2 版中,我们对系统进行了重新设计,使其更具模块化和可扩展性,并引入了一项名为 "启动配置文件 "的强大新功能。它们包含启动对象定义,可以在编辑器中轻松切换。这样,您就可以在开发过程中为原型、调试或发布版本创建不同的配置文件,并根据需要轻松更改。此外,您还可以通过编写自己的自定义配置文件来扩展系统,从而随心所欲地配置游戏的启动过程!
功能特点
在启动时初始化持久性游戏对象,无需额外的启动场景
使用启动配置文件轻松创建简洁的启动定义
在不同配置文件之间轻松切换
使用自定义启动配置文件扩展系统
更快地测试场景
简洁易用
包含完整的源代码
使用我们的快速入门指南,几分钟内即可上手
工作原理
在加载第一个场景之前,启动管理器会自动实例化您定义的预制板,并用 DontDestroyOnLoad 对其进行标记。因此,无论您从哪个场景进入游戏模式,您的所有持久化系统都将准备就绪。
捆绑选项
启动管理器 "是 "终极资产包 "的一部分,该资产包以优惠的价格包含了我们当前可用和即将推出的所有资产。
|