Hi all,
I'm going through some issue while building independent objects. And my biggest issue is to access variable (public or not) defined in the script of an object from an external object.
For example:
I'm building a simple scrollbar where I defined a variable called "progress".
My variable is updated whenever onMove happens, blablabla ... Anyway...
How do I access this "progress" variable from another object ? (ie: vitesse parameter)
How do I do that with group ?
My progress bar is a group of 2 objects. How can I access the variable defined in the group and not defined in any specific object in the group ? This group is consistent entity that is a unique interface for a better modularity.
I didnt check the concept of controller.
Can a controller help me ? if yes, how does it work ?
Thanks
Cyril