public void Select(Garment g) { if (currentGarment != null) { currentGarment.Hide(); } currentGarment = g; g.Show(); }
/*! * Hides the named garment if it is currently draped on the avatar. * * @see ShowGarment LoadGarment */ public virtual void HideGarment(String name) { Garment g = closet.Find(name); if (g != null) { g.Hide(); } else { SharedWorld.LogError("Cannot find garment " + name); } }