#`private string s = null` ?

1 messages · Page 1 of 1 (latest)

dry vigil
#

asking in the interest of avoiding to put the code-bloating [NonSerialized] in front of it

#

private string s = null ?

young wharf
#

Only when the object is created will Unity put something in the field. As I said, I'm not sure to the exact details but if it's causing issues (it was for me with localisation) you can add the [NonSerialized] attribute