Exemple #1
0
        internal CoreEnvironment()
        {
            CoreGui = new CoreGui {
                Parent = this, ParentLocked = true
            };
            //GeneralDebugGui = new GeneralDebugGui(CoreGui);

            Physics = null;
        }
Exemple #2
0
        internal GeneralDebugGui(CoreGui coreGui) : base(coreGui)
        {
            _stack = new Stack {
                Parent = this, Size = new UDim2(0.3f, 0, 0.3f, 0), BackgroundColour = Colour.Transparent
            };

            _graphicsTaskLabel = MakeDebugTextLabel(_stack);
            _gameTaskLabel     = MakeDebugTextLabel(_stack);
        }
Exemple #3
0
 protected DebugGui(CoreGui coreGui)
 {
     Parent = coreGui;
     RunService.Service.Heartbeat.Event += OnHeartbeat;
 }