Exemplo n.º 1
0
        void loadUI()
        {
            pickedCharacterPanel = _PickedCharacterPanel.GetComponent <PickedCharacterPanel>();

            _CharacterSlots.GetComponent <CharacterSlots>().loadInfo(charInfo.characterNum, charInfo.characters);
            pickedCharacterPanel.loadInfo(charInfo._stageInfo);
            _EnemyPanel.GetComponent <EnemyManager>().loadInfo(charInfo.enemyNum, charInfo._stageInfo.enemyIds);
        }
Exemplo n.º 2
0
        void Awake()
        {
            isClicked   = false;
            isLongClick = false;
            isExplainPanelInstantiated = false;
            GameObject PC = GameObject.Find("pickedCharacter");

            pickedCharacterPanel = PC.GetComponent <PickedCharacterPanel>();
        }
Exemplo n.º 3
0
        void Start()
        {
            GameObject CS = GameObject.Find("characterSlots");

            characterSlots = CS.GetComponent <CharacterSlots>();
            GameObject PCS = GameObject.Find("pickedCharacter");

            pickedCharacterSlot = PCS.GetComponent <PickedCharacterPanel>();
        }