fix:代码提交
This commit is contained in:
@@ -18,7 +18,7 @@ public class PnlIcon : ActionBase
|
||||
{ PageType.Icon02, new List<GameObject>() },
|
||||
{ PageType.Icon03, new List<GameObject>() },
|
||||
{ PageType.Icon04, new List<GameObject>() },
|
||||
// { PageType.Icon05, new List<GameObject>() }
|
||||
{ PageType.Icon05, new List<GameObject>() }
|
||||
};
|
||||
private Dictionary<PageType, List<IconData>> appCacheLists;
|
||||
private void InitializeAppCacheLists()
|
||||
@@ -29,15 +29,17 @@ public class PnlIcon : ActionBase
|
||||
{ PageType.Icon02, AppCache.iconPointList02 },
|
||||
{ PageType.Icon03, AppCache.iconPointList03 },
|
||||
{ PageType.Icon04, AppCache.iconPointList04 },
|
||||
{ PageType.Icon05, AppCache.iconPointList05 }
|
||||
};
|
||||
}
|
||||
|
||||
private Dictionary<PageType, string> textPrefixes = new Dictionary<PageType, string>
|
||||
{
|
||||
{ PageType.Icon01, "gnss监测" },
|
||||
{ PageType.Icon02, "水位" },
|
||||
{ PageType.Icon02, "测斜仪监测" },
|
||||
{ PageType.Icon03, "雨量监测" },
|
||||
{ PageType.Icon04, "渗压计监测" },
|
||||
{ PageType.Icon05, "位移监测" }
|
||||
};
|
||||
|
||||
private Dictionary<PageType, string> prefabPaths = new Dictionary<PageType, string>
|
||||
@@ -46,14 +48,16 @@ public class PnlIcon : ActionBase
|
||||
{ PageType.Icon02, "Icon2D/iconPrefab" },
|
||||
{ PageType.Icon03, "Icon2D/iconPrefab" },
|
||||
{ PageType.Icon04, "Icon2D/iconPrefab" },
|
||||
{ PageType.Icon05, "Icon2D/iconPrefab" }
|
||||
};
|
||||
|
||||
private static readonly Dictionary<PageType, string> IconMapping = new Dictionary<PageType, string>
|
||||
{
|
||||
{ PageType.Icon01, "MT014" },
|
||||
{ PageType.Icon02, "MT011" },
|
||||
{ PageType.Icon02, "MT016" },
|
||||
{ PageType.Icon03, "MT002" },
|
||||
{ PageType.Icon04, "MT032" }
|
||||
{ PageType.Icon04, "MT031" },
|
||||
{ PageType.Icon05, "MT013" }
|
||||
};
|
||||
private GameObject Player;
|
||||
private CameraRover cameraRover;
|
||||
@@ -255,7 +259,8 @@ public class PnlIcon : ActionBase
|
||||
return AppCache.iconPointList01 != null &&
|
||||
AppCache.iconPointList02 != null &&
|
||||
AppCache.iconPointList03 != null &&
|
||||
AppCache.iconPointList04 != null;
|
||||
AppCache.iconPointList04 != null &&
|
||||
AppCache.iconPointList05 != null;
|
||||
}
|
||||
|
||||
void CloseIcon(PageType type)
|
||||
|
||||
Reference in New Issue
Block a user