public static void CacheSpriteMesh(int spriteId, Mesh mesh) { if (!SpriteMeshDic.ContainsKey(spriteId)) { SpriteMeshDic.Add(spriteId, mesh); } }