public AddActorAt ( int index, |
||
index | int | |
actor | ||
리턴 | void |
public virtual void AddActorAt(int index, Actor actor)
{
actor.Remove();
if (index >= Children.Count)
Children.Add(actor);
else
Children.Insert(index, actor);
actor.Parent = this;
actor.Stage = Stage;
ChildrenChanged();
}