Page 1 of 1

how to access public variable of coMponent

Posted: Fri Mar 24, 2017 11:07 pm
by Camille
hello,
How to access public variable of coMponent?
I try :"MyCoMponent:MyVar" doesn't run
Regards

Re: how to access public variable of coMponent

Posted: Tue Mar 28, 2017 3:02 pm
by Benj
Hello,

Something like this should work. e.g. double colon.

Code: Select all

MyCoMponent::MyVar = 1

Re: how to access public variable of coMponent

Posted: Fri Mar 31, 2017 5:59 pm
by Camille
Hello,
run perfectly! solved!
regards