Actor||doc136568

September 20, 2022

Format

ActorWindow.Actor

Describe

Control to directly specify the role resources under resource management.

Code example

Show default character image

local actorWnd = UI:CreateGUIWidget(Enum.WidgetType.Actor)
actorWnd.Size = UDim2.new(0,200,0,200)
actorWnd.Actor = "asset/Actor/charactor/charactor_boy/character_boy.actor"
UI.Root:AddChild(actorWnd)