Updating body text from another script does not work. Section 3

Hello everyone, I am curious, how come when I try to update my body text from a script other than adventure script, bodyText is always null?
Since it is null I cannot update it via another script :(.

Hi,

By default, all variables of reference types are null. Assign a game object with a Text component to the fields in your Starting State component.

Did this help?


See also:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms