stash colors manually for now; havn't decided on a generic way to pass
parameters to actor loading
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
<ActorFrame><children>
|
||||
<Layer
|
||||
File="P.File1"
|
||||
OnCommand="scale_or_crop_background;diffuse,color(self.Color1)"
|
||||
InitCommand="%function(self) self.Color = Color1; end"
|
||||
OnCommand="scale_or_crop_background;diffuse,color(self.Color)"
|
||||
GainFocusCommand="Play"
|
||||
LoseFocusCommand="Pause"
|
||||
>
|
||||
<Input Name="@Color1" />
|
||||
</Layer>
|
||||
/>
|
||||
</children></ActorFrame>
|
||||
|
||||
Reference in New Issue
Block a user