![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Inces |
Hello,
I created aura class object, different elemental auras inherit from it. Aura class has 2 variables : radius and shape reference. Somehow, when a new object with any aura enters the scene, all already existing auras have their shapes and radius modified just like that new object on his private _ready function.
Is there some mechanism with inheritance I don’t understand ? Why do all objects inheriting from certain class object change, when I set a variable in private function of only one of them ?