public static ProxySprite Find(ProxySprite.Name name) { ProxySpriteManager pMan = ProxySpriteManager.privGetInstance(); Debug.Assert(pMan != null); // Compare functions only compares two Nodes // So: Use a reference node // fill in the needed data // use in the Compare() function Debug.Assert(pSpriteRef != null); pSpriteRef.SetName(name); ProxySprite pData = (ProxySprite)pMan.baseFindNode(pSpriteRef); return(pData); }