https://github.com/rimurudev/unity-webgl-loadaudiostreamingassets
https://github.com/rimurudev/unity-webgl-loadaudiostreamingassets
rimuru-dev rimurudev unity-addressables unity-streamingassets unity-webgl unity-yandexgame webgl yandex-ga
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rimurudev/unity-webgl-loadaudiostreamingassets
- Owner: RimuruDev
- License: mit
- Created: 2024-08-12T19:52:28.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-08-12T19:59:14.000Z (9 months ago)
- Last Synced: 2025-05-07T12:12:48.779Z (12 days ago)
- Topics: rimuru-dev, rimurudev, unity-addressables, unity-streamingassets, unity-webgl, unity-yandexgame, webgl, yandex-ga
- Language: C#
- Homepage:
- Size: 4.97 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This is a little helper [PropertyDrawer](https://docs.unity3d.com/ScriptReference/PropertyDrawer.html) that lets you hide properties unless another property has a true value. For example:
```cs
class MyBehavior : MonoBehavior
{
public bool showSomeValue;[ConditionallyVisible(nameof(showSomeValue))]
public float someValue;
}
```The inspector will show the checkbox for `showSomeValue` and will only show the `someValue` field if you check the box.
This is handy if you're doing some kind of feature list or have fields that only apply when a value is toggled on.
