I was making a script for the door where when I click on the doorknob it opens a panel on the door and the option to open and knock before appearing
but I don’t know how to make you use the same canva for the other doors
I was making a script for the door where when I click on the doorknob it opens a panel on the door and the option to open and knock before appearing
but I don’t know how to make you use the same canva for the other doors
I’m not 100% certain what the best approach is to this, but I feel like you might want to make a prefab of the door that you want to open (with the canvas and panel as children of the door) and then you can use that door prefab whenever you want to make a new door. This will give each door its own canvas and panel, which should be a bit easier to deal with.
You could then attach a script to the door prefab referencing that door’s panel, and whenever you click the doorknob, you could trigger that door’s script only, enabling its panel.
Sorry if I didn’t write that super clearly, but I hope this helped a little bit.
I’ll try, thanks!
This will give every entryway its own canvas and board, which ought to be somewhat simpler to manage TalkToWendys.