public static SpriteNodeBatch Find(SpriteNodeBatch.Name name) { //SpriteNodeBatchManager pMan = SpriteNodeBatchManager.privGetInstance(); SpriteNodeBatchManager pMan = SpriteNodeBatchManager.pActiveSBManager; Debug.Assert(pMan != null); // Compare functions only compares two Nodes // So: Use the Compare Node - as a reference // use in the Compare() function SpriteNodeBatchManager.poCompare.SetName(name); SpriteNodeBatch pData = (SpriteNodeBatch)pMan.baseFind(SpriteNodeBatchManager.poCompare); return(pData); }