Exemplo n.º 1
0
    private void RemoveOption(Dialogue.Option option)
    {
        m_Node.RemoveOption(option);
        ConnectionPoint outPoint = GetConnectionPointFromOption(option);

        outPoint.OnBeingRemoved();
        m_OptionConnectionPoints.Remove(outPoint);
        m_OptionToConnectionPoint.Remove(option);
        m_ConnectionPointToOption.Remove(outPoint.m_Id);
        DecreaseHeight(m_OptionFieldHeight);
    }