ActorProxy
An ActorProxy is an actor that allows rendering of other Actors without the need to create the logic for it again.
Def.ActorProxy{
OnCommand=function(self)
self:SetTarget( [target actor] )
end
}
There are no special attributes for this actor class.
As long as the target Actor is present, it will draw it. If it’s deleted during runtime, it will stop drawing.
(Actor targetActor)
Tells the ActorProxy to use targetActor
as its draw target.
Returns the current actor this ActorProxy is currently rendering. Returns nil
if no actor is assigned previously.