protected override void OnFinalize() { base.OnFinalize(); RemoveLayer(_gauntletLayer); _dataSource = null; _gauntletLayer = null; }
protected override void OnInitialize() { base.OnInitialize(); _dataSource = new VartsConfigMenuVM(); _gauntletLayer = new GauntletLayer(100) { IsFocusLayer = true }; AddLayer(_gauntletLayer); _gauntletLayer.InputRestrictions.SetInputRestrictions(); _gauntletMovie = _gauntletLayer.LoadMovie("VartsConfigMenuScreenBaseMovie", _dataSource); }