Allowing the assignment or unassignment of nullable fields in the inspector
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 7.8k
- Forks
- 1.2k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 49
Description
Is your feature request related to a problem? Please describe.
When inspecting an entity with a component containing a nullable field, there is no way to change the value from null to not null or vice versa.
Describe the solution you'd like
Similar to the implementation for interface fields, either a dropdown with the available options assignable or a +/X button next to the value in the inspector that we can click to clear or populate the field.
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 locating the inspector implementation for interface fields and reproduce the issue with an entity component containing a nullable field. Compare the existing interface-field behavior with nullable values and define the expected interaction for changing null to a value and clearing it again. Done means both directions are available in the inspector.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- game-dev, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100