public static void LogUseItem(string goodsID, int num) { CheckInit(); if (s_useNewSDKManager) { SDKManagerNew.LogUseItem(goodsID, num); } for (int i = 0; i < s_logServiceList.Count; i++) { try { s_logServiceList[i].LogUseItem(goodsID, num); } catch (Exception e) { Debug.LogError("SDKManager LogUseItem Exception: " + e.ToString()); } } }