James Hancock
asked on
How do I link Unity game objects into my C# code?
Hi
I'd like to link my Unity game objects into my C# code
My Unity game is ready to have the c# game-state in my singleton link in its corresponding game-state data structures to existing objects in the Unity IDE.
What does it look like to set up an array of Unity objects in the script? and instantiate them? Should I tend towards using already existing objects?
I need: an array of clue-images, an array of text objects (TextMeshPro) and an array of (basically) platforms
?
Thanks
I'd like to link my Unity game objects into my C# code
My Unity game is ready to have the c# game-state in my singleton link in its corresponding game-state data structures to existing objects in the Unity IDE.
What does it look like to set up an array of Unity objects in the script? and instantiate them? Should I tend towards using already existing objects?
I need: an array of clue-images, an array of text objects (TextMeshPro) and an array of (basically) platforms
?
Thanks
ASKER
Mods, how do I select one of my answers as the solution?
My last comment was it.
Thanks
My last comment was it.
Thanks
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
here
Thanks