Macawls
Macawls
CC#
Created by .cerealisapasta on 2/20/2023 in #help
❔ Getting a variable from a GameObject without dragging and dropping it in
hope this helps
9 replies
CC#
Created by .cerealisapasta on 2/20/2023 in #help
❔ Getting a variable from a GameObject without dragging and dropping it in
On the event that the game restarts you can adjust the speed value accordingly 🌸
9 replies
CC#
Created by .cerealisapasta on 2/20/2023 in #help
❔ Getting a variable from a GameObject without dragging and dropping it in
Suppose there's a scriptable object with a float value like speed. All of your objects can require this value as a serialized field as a dependency and can read from this value. Your Logic Manager can update this value
9 replies
CC#
Created by .cerealisapasta on 2/20/2023 in #help
❔ Getting a variable from a GameObject without dragging and dropping it in
I'm still not quite sure. Could you explain what you're trying to do without the specifics? But you can look into scritptable objects or statics
9 replies
CC#
Created by .cerealisapasta on 2/20/2023 in #help
❔ Getting a variable from a GameObject without dragging and dropping it in
Could you be a bit more specific?
9 replies