示例#1
0
        private void Awake()
        {
            if (Instance != null)
            {
                throw new Exception("multiple DebugView instances!");
            }
            Instance = this;
            DontDestroyOnLoad(this);

            CreateViews();

            _modes.ForEach(m => m.RegisterServices());
        }
示例#2
0
 public DebugOverviewMode(DebugView view)
 {
     _view  = view;
     _modes = view.Modes.ToList();
 }