How can I get a task field to be null?
It's always initialized/serialized by default.
On a side note, it would be amazing if the behavior designer inspector could utilize Odin attributes.
But otherwise I guess once I can get this serialized to null, I can write a custom object drawer for it.
Thanks
It's always initialized/serialized by default.
Code:
class MyTask : Task {
public SomeClass MyField; // I want this to be null by default
}
class SomeClass {
public int Value;
}
On a side note, it would be amazing if the behavior designer inspector could utilize Odin attributes.
But otherwise I guess once I can get this serialized to null, I can write a custom object drawer for it.
Thanks