public static void xyz_Set(long id, Vector3 xz, Quaternion y) //2. 根据id设置xy值 { if (XZ_Y_Map.ContainsKey(id)) { XZ_Y_Map[id] = new CONFIG.XZ_Y(xz, y); } else { Debug.LogError("id不存在"); } }
//------------------------------------------------- public static void xyz_Add(long id) //1. 添加玩家 { CONFIG.XZ_Y xyz = new CONFIG.XZ_Y(); XZ_Y_Map.Add(id, xyz); }