Exemplo n.º 1
0
    void Start()
    {
        EnergyManager.Instance.StartTurn += this.StartTurn;
        EnergyManager.Instance.FireGo += this.FireGo;
        oldMagicValue = magicValue;
        
        
        explainLabel = GameObject.Find("ExplainLabel").GetComponent<UILabel>();
        magicCircle = gameObject.AddComponent<MagicCircle>();
        UpdateTexture();
        magicCircle.EnlargeStart();
        magicCircle.Type = StartType.Shrink;
        UpdateMagicValue();
        //AddEffect("Cohension", 2);

        //关卡判断
        if (LevelManager.Instance.level == 1 && LevelManager.Instance.key.Contains("AttackMagic"))
        {
            GuideText.Instance.ReturnText(3);
            LevelManager.Instance.key.Remove("AttackMagic");
            StartCoroutine(Level1());
        }
    }