rive-app / rive-app/rive-unity

Feature request: RivePanel checks for root Canvas's enabled status

Open
#164 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C#
Stars
205
Forks
22
PR merge metrics
No merged PRs in 30d

Description

It seems like RivePanel registers/deregisters itself in OnEnable/OnDisable.
It would be great if RivePanel also checked if the root Canvas was enabled or not.

Unity's official UI optimizing tips state that one way to optimize the UI stuff is to toggle the Canvas.enabled value rather than doing GameObject.SetActive(bool)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading RivePanel's OnEnable and OnDisable behavior and how it finds the root Canvas. Check how Canvas.enabled changes differ from GameObject.SetActive(bool), then verify that RivePanel registers and deregisters appropriately when the root Canvas is disabled and re-enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, unity
Domain
game-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.