Quantcast
Channel: Answers for "How do I access information (eg, variables, functions, properties) on other objects from inside a script?"
Browsing all 4 articles
Browse latest View live

Answer by Ricardo

What you want to learn about is public properties in C#, getters and setters.

View Article



Answer by duck

There are many many ways in unity for objects to access each other's components, scripts, functions and variables. Start reading about it at this manual page: [Controlling GameObjects Using...

View Article

Answer by Ricardo

What you want to learn about is public properties in C#, getters and setters.

View Article

Answer by duck

There are many many ways in unity for objects to access each other's components, scripts, functions and variables. Start reading about it at this manual page: [Controlling GameObjects Using...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images