rive-app / rive-app/rive-unity
Feature request: RivePanel checks for root Canvas's enabled status
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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