public override void UpdateElementLayout() //bool firstBuild) { { baseMapParameters.UpdateElementLayout(); //firstBuild); rectTransform.sizeDelta = size; background.UpdateElementLayout();//firstBuild); centerReference.rectTransform.sizeDelta = new Vector2(centerWidth, size.y + .05f); // return centerReference.UpdateElementLayout();//firstBuild); }
public override void UpdateElementLayout() //bool firstBuild) { { baseMapParameters.UpdateElementLayout(); //firstBuild); panel.rectTransform.sizeDelta = size; UIBaseParameters.CopyParameters(ref panel.parameters, panelParameters); panel.UpdateElementLayout();//firstBuild); mapImage.rectTransform.sizeDelta = panel.rectTransform.sizeDelta; // return Vector2.zero; }
// protected override void OnEnable() { // baseMapParameters.OnEnable(transform, OnMarkerAdd, null); // base.OnEnable(); // } public override void UpdateElementLayout() //bool firstBuild) { // return { baseMapParameters.UpdateElementLayout();//firstBuild); }