public void RemoveMember(Actor actor) { if (members.Contains(actor)) { members.Remove(actor); } if (contentGroup != null) { contentGroup.RemoveMember(actor.actorId); } if (GetPlayerMembers().Count == 0 && !isDeleting) { EndDirector(); } }