Пример #1
0
    // Start is called before the first frame update
    void Start()
    {
        MaxHP  = 5000;
        CurHP  = MaxHP;
        combat = camera.GetComponent <TurnBaseCombat>();
        RKTurn = false;

        anim        = GetComponent <Animator>();
        myRigidbody = GetComponent <Rigidbody2D>();

        SURA = opponent.GetComponent <SuraControll>();
    }
Пример #2
0
    // Start is called before the first frame update
    void Start()
    {
        MaxHP    = 5000;
        CurHP    = MaxHP;
        combat   = camera.GetComponent <TurnBaseCombat>();
        SuraTurn = false;

        anim                = GetComponent <Animator>();
        myRigidbody         = GetComponent <Rigidbody2D>();
        db_animator         = db_0.GetComponent <Animator>();
        db_transform        = db_0.GetComponent <Transform>();
        evil_emoji_animator = evil_emoji_0.GetComponent <Animator>();


        RK = opponent.GetComponent <RKControll>();
    }