Denis Rizov

Results 36 comments of Denis Rizov

UNet is currently deprecated, so I don't plan on making NA to work for NetworkBehaviours. They actually have a custom editor for NetworkBehaviours that is overriding the default NA's editor,...

My bad, sorry. I thought UNet and MLAPI are the same things. I am reopening the issue. If there is a custom editor for NetworkBehaviours, and I am most certainly...

It works on my end mate. Can you try it on an empty project? It should work. Probably some other editor script is overriding NaughtyAtribute's inspector.

This is indeed a bug. If not nested it works fine, but when nested inside a subclass it doesn't work. I will fix it mate, thank you very much. The...

I understood why it's now working. Look at this example. ```csharp public class _NaughtyComponent : MonoBehaviour { public MyClass nest; } [System.Serializable] public class MyClass { [ReadOnly] public int[] one;...

> Hi, I don't know exactly how it's implemented in Naughty, but until this is fixed, here's a temporary fix we used on our end - a drawer for @jurcaua's...

Will see what I can do :)

> I know I'm late, but Unity now has an attribute [`SerializeReference`](https://docs.unity3d.com/ScriptReference/SerializeReference.html) that can serialize interfaces, is this what you need? > However, the `SerializeReference` attrubute won't work if field...

This is cool, I will implement it. In the meantime, you can achieve it like this. I haven't tested this code, but it should work. ```csharp public List AllowedDirections; [Serializable]...

Sorry, I forgot that dropdowns don't work with structs. It's a known bug. I have it described in the [documentation](https://dbrizov.github.io/na-docs/attributes/drawer_attributes/dropdown.html). > When nested inside a **struct** the value of the...