void Start()
 {
     Enemystat = gameObject.GetComponent <EnemyScripts>();
     csc       = gameObject.GetComponent <Cardsc>();
     batsys    = gameObject.GetComponent <BattleSystem>();
     sm        = gameObject.GetComponent <Sommon>();
     ma        = gameObject.GetComponent <MobAnime>();
     Lookimg   = LookCard.GetComponent <Image>();
     Power     = Powergo.GetComponent <Text>();
     HP        = HPgo.GetComponent <Text>();
     SommonMonster[0].SetActive(false);
     SommonMonster[1].SetActive(false);
     SommonMonster[2].SetActive(false);
     StatusNBuff[0].SetActive(false);
     StatusNBuff[1].SetActive(false);
     StatusNBuff[2].SetActive(false);
     Sommoned[0]   = false;
     Sommoned[1]   = false;
     Sommoned[2]   = false;
     ons           = false;
     isOn          = false;
     mobAttackturn = 0;
     Updating();
     StartSommonEnemy();
 }
Esempio n. 2
0
    void Start()
    {
        Energy    = 3;
        maxEnergy = Energy;
        Color color = Announce.color;

        color.a        = 0;
        Announce.color = color;
        AATC           = 0;
        CopyState();
        DeckSame();
        AnemyBattle anemyBattle = GameObject.Find("Systems").GetComponent <AnemyBattle>();

        ue  = gameObject.GetComponent <UIEffect>();
        csc = gameObject.GetComponent <Cardsc>();

        sommon = gameObject.GetComponent <Sommon>();
        for (int i = 0; i < 10; i++)
        {
            CardImage[i].SetActive(false);
        }
        StartCoroutine("FirstTurnDrow");
    }
 private void Start()
 {
     battle = gameObject.GetComponent <BattleSystem>();
     sommon = gameObject.GetComponent <Sommon>();
     enemy  = gameObject.GetComponent <AnemyBattle>();
 }