Example #1
0
    void Start()
    {
        AngryEffect.SetActive(false);
        SkillReCheck = false;

        CDtimeCheck = false;
        CDTime      = 3;
        SkillTime   = 0.7f;
        anim        = transform.Find("Roles_02_1008_SkinTPoss").GetComponent <Animator> ();
        _DragonMove = GetComponent <DragonMove>();
        Start_Eff.SetActive(false);
        Mid_Eff.SetActive(false);
        LastBlood       = _DragonMove.blood;
        CurrentBlood    = _DragonMove.blood;
        _DamageShowTime = DamageShowTime;
        StartCoroutine(InvincibleTime());
        SpeedDownObj.SetActive(false);
        InvincibleObj.SetActive(false);
        StartCoroutine(InvincibleTime());
    }
Example #2
0
 // Use this for initialization
 void Start()
 {
     dragon = transform.root.GetComponent <DragonMove>();
 }