6 [
Attribute(
"{DD74BE2BBAE07192}Prefabs/Markers/MapMarkerEntityBase.et", UIWidgets.ResourceNamePicker,
desc:
"Marker prefab used in replication",
params:
"et")]
7 protected ResourceName m_sMarkerPrefab;
9 protected SCR_MapMarkerManagerComponent m_MarkerMgr;
12 ResourceName GetMarkerPrefab()
14 return m_sMarkerPrefab;
19 override void InitServerLogic()
21 m_MarkerMgr = SCR_MapMarkerManagerComponent.GetInstance();
27 super.InitClientSettingsDynamic(marker, widgetComp);
29 widgetComp.SetText(marker.GetText());
31 ResourceName imageset;
33 marker.GetImageResource(imageset, quad);
34 widgetComp.SetImage(imageset, quad);