#interact with objects using arrays

1 messages · Page 1 of 1 (latest)

idle hound
#

Anyone got advice on making a compact system that recognizes text stored on an object and displays it?

What I'm trying to do:
Text is stored on an object in form of an array
When the object is clicked on, there is a script attached to a player that scans the object's arrays.
Text UI is displayed, and on top of that, the text in the object's array is read on top of that.

I've been using Inky for that but it gets notoriously inefficient with more scripts.

sick trellis
#

you could look into ScriptableObjects

#

brackeys has a tutorial on them