コード例 #1
0
        public override void Start()
        {
            base.Start();

            atlas = FireworksUI.GetAtlas("Ingame");
            //size = FireworksUI.panel_size;
            backgroundSprite = "GenericPanel";
            position         = new Vector3(FireworksManager.instance.panelX.value, FireworksManager.instance.panelY.value, 0);
            gameObject.SetActive(false);
        }
コード例 #2
0
        public override void Start()
        {
            base.Start();

            atlas           = FireworksUI.GetAtlas("Ingame");
            size            = new Vector2(35f, 35f);
            textScale       = 0.8f;
            text            = "F";
            normalBgSprite  = "InfoIconBaseNormal";
            hoveredBgSprite = "InfoIconBaseHovered";
            pressedBgSprite = "InfoIconBasePressed";
            canFocus        = false;
            position        = new Vector3(FireworksManager.instance.btnX.value, FireworksManager.instance.btnY.value);
        }