public IRCSocket()
    {
        SocketReady = false;

        if (Debug.isDebugBuild)
        {
            DebugRegistry.SetToggle("irc.socket.log", false);
        }
    }
    public GameWorldDebug(GameWorldController gameWorldController)
    {
        _gameWorldController = gameWorldController;
        _pathComputer        = new PathComputer();

        DebugRegistry.SetToggle("entity.pathfinding.render_debug_path", false);
        DebugRegistry.SetToggle("entity.pathfinding.render_nav_mesh", false);
        DebugRegistry.SetToggle("entity.pathfinding.render_visibility", false);
        DebugRegistry.SetToggle("ui.outline_hover_widget", false);
        DebugRegistry.SetToggle("ui.show_cursor_position", false);
    }
Exemple #3
0
    public void Start(WidgetGroup widgetGroup)
    {
        Point2d newMousePosition = GetMousePosition();

        m_rootWidgetGroup = widgetGroup;

        m_mousePosition.Set(newMousePosition.x, newMousePosition.y);
        m_mouseOverIWidget = m_rootWidgetGroup.FindChildIWidgetContainingPoint(m_mousePosition);
        m_mouseIsDragging  = false;
        m_mouseWasDown     = Input.GetMouseButton((int)eMouseButton.left);

        if (Debug.isDebugBuild)
        {
            DebugRegistry.SetToggle("ui.event.log", false);
        }
    }