KEngine.AppEngine.New C# (CSharp) Method

New() public static method

Engine entry.... all begins from here
public static New ( GameObject gameObjectToAttach, IAppEntry entry, IList modules ) : AppEngine
gameObjectToAttach UnityEngine.GameObject
entry IAppEntry
modules IList
return AppEngine
        public static AppEngine New(GameObject gameObjectToAttach, IAppEntry entry, IList<IModuleInitable> modules)
        {
            Debuger.Assert(gameObjectToAttach != null && modules != null);
            AppEngine appEngine = gameObjectToAttach.AddComponent<AppEngine>();
            appEngine._isNewByStatic = true;
            appEngine.GameModules = modules;
            appEngine.AppEntry = entry;

            return appEngine;
        }

Same methods

AppEngine::New ( GameObject gameObjectToAttach, IModuleInitable modules ) : AppEngine