void EventManager_OnRemovePresence(IScenePresence presence)
        {
            AvatarAppearanceModule m = (AvatarAppearanceModule)presence.RequestModuleInterface <IAvatarAppearanceModule> ();

            if (m != null)
            {
                m.Close();
                presence.UnregisterModuleInterface <IAvatarAppearanceModule> (m);
            }
        }
 void EventManager_OnNewPresence (IScenePresence presence)
 {
     AvatarAppearanceModule m = new AvatarAppearanceModule (presence);
     presence.RegisterModuleInterface<IAvatarAppearanceModule> (m);
 }
        void EventManager_OnNewPresence(IScenePresence presence)
        {
            AvatarAppearanceModule m = new AvatarAppearanceModule(presence);

            presence.RegisterModuleInterface <IAvatarAppearanceModule> (m);
        }