Skip to content

'Tab' is an ambiguorus reference #26

Description

@SafakB

About the error

One parameter cannot choose which namespace to use. Because Tab class exists in both namespaces.

Unity Version : 6
File : UiUtils.cs(27,105)
Error : error CS0104: ‘Tab’ is an ambiguous reference between ‘UnityEngine.UIElements.Tab’ and ‘QuickEye.UIToolkit.Tab’

https://github.com/ErnSur/Unity-Http-Debugger/blame/449b7656b47812ee58d95051222ec6edcc957420/Editor/UiUtils.cs#L26-L28

I found the solution as follows

Old Version:

public static void InitialiseTabStatePersistence(VisualElement root, string viewDataKey, params Tab[] tabs)

Working Version:

public static void InitialiseTabStatePersistence(VisualElement root, string viewDataKey, params QuickEye.UIToolkit.Tab[] tabs)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions