예제 #1
0
        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);
        }
예제 #2
0
        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;
        }
예제 #3
0
        // protected override void OnEnable() {
        //     baseMapParameters.OnEnable(transform, OnMarkerAdd, null);
        //     base.OnEnable();
        // }

        public override void UpdateElementLayout() //bool firstBuild) {
        // return
        {
            baseMapParameters.UpdateElementLayout();//firstBuild);
        }