use LuaThreadVariable
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<ActorFrame><children>
|
||||
<Layer
|
||||
File="File1"
|
||||
InitCommand="%function(self) self.Color = Color1; end"
|
||||
File="Var 'File1'"
|
||||
InitCommand="%function(self) self.Color = Var 'Color1'; end"
|
||||
OnCommand="scale_or_crop_background;diffuse,color(self.Color)"
|
||||
GainFocusCommand="Play"
|
||||
LoseFocusCommand="Pause"
|
||||
|
||||
Reference in New Issue
Block a user