So we have actor.
.................................................. .
Actor has a cool struct called MyStruct.
We make a get function.
And i want to modify the struct MyStruct through that function.
Any idea ?
gets and sets make code cleaner, than direct accessing.
.................................................. .
Actor has a cool struct called MyStruct.
We make a get function.
Code:
Function StructType GetMyStruct (){ return MyStruct; }
Code:
self.GetMyStruct().ValueA = 10
gets and sets make code cleaner, than direct accessing.
Comment