Ejemplo n.º 1
0
        public void Awake()
        {
            IApplication application = gameObject.AddComponent <Application>();

            application.Bootstrap(new Type[] { typeof(Bootstraps) }).Init();
        }
Ejemplo n.º 2
0
    /// <summary>
    /// 初始化程序
    /// </summary>
    public void Awake()
    {
        IApplication application = gameObject.AddComponent <CApplication>();

        application.Bootstrap(BootStrap).Init();
    }