Open Dioinecail opened 4 years ago
If you create a new BetterEventEntry from a script and assign ParameterValues array it doesn't change in the inspector, it will stay at default value.
for example
BetterEventEntry entry = new BetterEventEntry(cloneDelegate); entry.ParameterValues = new object[] { 1 };
it will stay at 0, because the default value is 0 for this type of method.
I've tried creating new constructor or force calling Odin serialization, it still doesn't change in the inspector
Hmm, it updates the inspector values after calling "Invoke" from the inspector
If you create a new BetterEventEntry from a script and assign ParameterValues array it doesn't change in the inspector, it will stay at default value.
for example
it will stay at 0, because the default value is 0 for this type of method.
I've tried creating new constructor or force calling Odin serialization, it still doesn't change in the inspector