![]() |
![]() |
|
#1
|
|||
|
|||
|
hi
i need some help... is there any way to access to other variables then that one in the defaultproperties in static functions? |
|
#2
|
|||
|
|||
|
only defaultproperties and static functions (this can return maybe the var you are looking for) can be acceded as static.
|
|
#3
|
||||
|
||||
|
Pass the objects that you want to modify as arguments to the static function maybe?
|
|
#4
|
|||
|
|||
|
Sounds like you'd benefit from a little reading on what static functions are. You can't access instance variables from a static function directly because there is no instance from which to retrieve them, so if you need them, pass the object that owns them.
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|