예제 #1
0
 private void StartTest(int index)
 {
     _entry             = TestEntries.TestList[index];
     _test              = _entry.CreateTest();
     _test.GameInstance = this;
     _test.Initialize();
 }
예제 #2
0
        private void StartTest(int index)
        {
            // save previous flags
            DebugViewFlags flags = (DebugViewFlags)0;

            if (_test != null)
            {
                flags = _test.DebugView.Flags;
            }

            _entry             = TestEntries.TestList[index];
            _test              = _entry.CreateTest();
            _test.GameInstance = this;
            _test.Initialize();

            // re-enable previous flags
            _test.DebugView.Flags |= flags;
        }