protected override void Create(Context context, Builder builder, params object[] args) { base.Create(context, builder, args); scene = builder.GetManager <Scene>(); user = builder.GetFeature <User>(); game = builder.GetFeature <FGame>(); Subscrible(); }
// Start is called before the first frame update void Start() { GameSettings settings = FGameSettings.Make(_gameConfigs); _game = FGame.Make(this, settings); _inputManager.Initialize(this, _game._inputHandler); _hudManager.InitializeUi(_game, settings); }