Page 1 of 1

SerializeField

Posted: Wed May 01, 2024 9:41 am
by Arturicon
I struggle with adding Serializable int field to Dialogue Entry. I suppose i need to change something in unity editor but i'm not so good in it. Can you hint how i can do this?

Re: SerializeField

Posted: Wed May 01, 2024 10:26 am
by Tony Li
Hi,

I don't understand what you want to do. Can you please provide more details / code / screenshots?

Re: SerializeField

Posted: Wed May 01, 2024 11:51 am
by Arturicon
I mean i want to add field to dialog entry to see it at inspector. I added field to dialog entry script but it doesn't work.

Re: SerializeField

Posted: Wed May 01, 2024 12:10 pm
by Tony Li
Hi,

If you've added a new field, it will be in the All Fields foldout.

If you added it through the Templates tab, you can tick the Main checkbox to see it in the main section of the inspector.