Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: ui toolkit network behaviour editor for unity 2022.2 and newer #1121

Closed
wants to merge 6 commits into from

Conversation

Hertzole
Copy link
Contributor

Starting with Unity 2022.2, Unity now creates inspectors using UI toolkit. Mirage still uses IMGUI for the network behavior inspector which breaks any UI toolkit property drawers. This change adds a UI toolkit editor for network behaviors, along with also adding UI toolkit property drawers to all attributes.

All of the UI toolkit editors go into effect when the user is using Unity 2022.2 or later.

@Hertzole Hertzole changed the title add: ui toolkit network behaviour editor for unity 2022.2 and newer fix: ui toolkit network behaviour editor for unity 2022.2 and newer Dec 24, 2022
@Hertzole Hertzole changed the title fix: ui toolkit network behaviour editor for unity 2022.2 and newer feat: ui toolkit network behaviour editor for unity 2022.2 and newer Dec 24, 2022
James-Frowen pushed a commit that referenced this pull request Jan 6, 2023
…1121)

Squashed commit of the following:

commit 53f5515
Author: Hertzole <hampusringstrom@gmail.com>
Date:   Wed Dec 28 15:38:55 2022 +0100

    moved UI toolkit code to own files

commit 9b2e013
Author: Hertzole <hampusringstrom@gmail.com>
Date:   Sat Dec 24 02:32:26 2022 +0100

    add foldout event ui toolkit editor

commit 765f919
Author: Hertzole <hampusringstrom@gmail.com>
Date:   Sat Dec 24 02:21:11 2022 +0100

    add readonly decortator ui toolkit editor

commit 94e2c53
Author: Hertzole <hampusringstrom@gmail.com>
Date:   Sat Dec 24 02:15:56 2022 +0100

    add syncvar ui toolkit editor

commit a514494
Author: Hertzole <hampusringstrom@gmail.com>
Date:   Sat Dec 24 02:06:32 2022 +0100

    made imgui editor match ui toolkit editor

    You can now click the label to expand sync lists and it has a new empty state, along with an outlined box.

commit ec345d8
Author: Hertzole <hampusringstrom@gmail.com>
Date:   Sat Dec 24 01:59:52 2022 +0100

    add ui toolkit inspector
@github-actions github-actions bot added the has conflicts Pull Request has merge conflicts label Jan 6, 2023
@James-Frowen
Copy link
Member

merged here f626c77

github-actions bot pushed a commit that referenced this pull request Jan 6, 2023
# [129.4.0](v129.3.2...v129.4.0) (2023-01-06)

### Features

* ui toolkit network behaviour editor for unity 2022.2 and newer ([#1121](#1121)) ([f626c77](f626c77))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has conflicts Pull Request has merge conflicts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants