Exemplo n.º 1
0
        private void Find()
        {
            _peiLv = transform.FindChild("bg/PeiLv").GetComponent <Text>();

            _betNumT = transform.FindChild("bg/YaZhu").GetComponent <Text>();

            OnSelect = transform.FindChild("bg/onSelect").gameObject;

            parentWindow = GetComponentInParent <LSBetWindow>();
        }
Exemplo n.º 2
0
        private void FindChild()
        {
            _betWindow = transform.FindChild("BetWindow").GetComponent <LSBetWindow>();

            _settingWondow = transform.FindChild("SettingWindow").GetComponent <LSSettingWindow>();

            _historyWindow = transform.FindChild("HistoryWindow").GetComponent <LSHistoryWindow>();

            _bonus = transform.FindChild("LeftTop/Bonus/BonusNum").GetComponent <Text>();

            _timeText = transform.FindChild("RightTop/TimeCutDown/timeCut").GetComponent <Text>();

            _banker = transform.FindChild("Image/Image").GetComponent <Image>();

            _vfx = transform.FindChild("VFX").gameObject;

            _resultPanel = transform.FindChild("DisplayResult").GetComponent <LSResultControl>();
        }