A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
public class BrowserPopupField<T> : BaseField<T>, IBrowserPopupField { public BrowserPopupField(string label) : base(label, new VisualElement() {...
There's good news there! Creating your own popupfield is quite trivial and is likely a good starter project if you're just getting your feet wet...
Oh that's good news. I'll double check that I'm not doing something dumb and try and build out an example. Many thanks to you unity devs lurking...
bonus points if you can help me remove the entire collection without crashing or throwing diff errors.
Deleting an element should be as simple as removing it from the hierarchy using el.RemoveFromHierarchy() or parent.Remove(child);
Apologies for the length. I have a class that contains several lists which end up as serialized property arrays. These lists contain classes...
You can get by a great deal with bindingPath alone though you lose control after a certain point. In most cases you should just be able to use the...
I've been thinking about this topic tonight and went back and removed all the direct serialized property interaction from one of my tricky fields....
Looking through the source a lot of the built in controls use serialized properties and since it's all based around binding to serialized...
Well don't I feel like a big dingus. Well as some feedback it rocks.
Ping me if you need any other serialized object hacks I've been in that arena the past few days.
Thanks for the tip! I was hoping I'd get feedback on the code
private static MethodInfo internal_GetFieldInfoAndStaticTypeFromProperty; public static FieldInfo GetFieldInfoAndStaticType(this...
It's certainly not something you'd want to do often but there times, often editor only times, when this would be a total blessing. And since the...
I don't really understand this answer since the cs source shows the default inspector is already built and unity is already giving me the option...
Hey there. The default toolkit inspector works great and I really like it. It seems like telling the inspector to use the default toolkit is not...
Kind of a weird question and I think i've gone through the whole thread. I've found that [SerializeReference] , as the name implies , serializes...
Oh looks like this was discovered ( i'm so bad at unity forum search )...
A more complete example of the null references [System.Serializable] public class Variable : IVariable { [SerializeField]...
Hi I'm not sure exactly where to ask this - happy to move the post. I'm playing with the new [SerializedReference] attribute which is totally...