troubleshooting Question

How do I link Unity game objects into my C# code?

Avatar of James Hancock
James HancockFlag for United States of America asked on
Game ProgrammingC#Computer Games
3 Comments1 Solution11 ViewsLast Modified:
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
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros