Link to home
Create AccountLog in
Avatar of James Hancock
James HancockFlag for United States of America

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
Avatar of James Hancock
James Hancock
Flag of United States of America image

ASKER

Is this a good start for images?

here

Thanks
Mods, how do I select one of my answers as the solution?
My last comment was it.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of James Hancock
James Hancock
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer