shunryusuzuki
01-16-2007, 01:05 PM
Re-Hello there!
I was wandering if there is a way to get the right variables from a live-previewed component.
I mean if you have a propertie set by default to 0 and you change it to 200, if you come back later on the component inspector all the value are reseted to their default value.
Exemple if my composent is a simple shape with x and y properties (default value 0) If I change those value and do something else and then come back to the properties inspector the x and y are reseted to 0 !!!
I write all the setter and getter I need in my class and put the right [inspectable] tag everywhere,.... so I'm prety confused.... what the hell is wrong with my component.
I tried to call the propertie in the interface but it's working only one way....
thanks for ANY help.
Simon
I was wandering if there is a way to get the right variables from a live-previewed component.
I mean if you have a propertie set by default to 0 and you change it to 200, if you come back later on the component inspector all the value are reseted to their default value.
Exemple if my composent is a simple shape with x and y properties (default value 0) If I change those value and do something else and then come back to the properties inspector the x and y are reseted to 0 !!!
I write all the setter and getter I need in my class and put the right [inspectable] tag everywhere,.... so I'm prety confused.... what the hell is wrong with my component.
I tried to call the propertie in the interface but it's working only one way....
thanks for ANY help.
Simon