Example #1
0
 protected override void OnFinalize()
 {
     base.OnFinalize();
     RemoveLayer(_gauntletLayer);
     _dataSource    = null;
     _gauntletLayer = null;
 }
Example #2
0
 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);
 }