Пример #1
0
    protected override void OnSlime(Slime slime)
    {
        slime.GetComponent <SlimeCheckGround>().enabled = false;

        AudioManager.GetInstance().PlayAbility(AbilitySwap.AbilityType.Cannon);

        CalculatePoints(slime.transform);

        slime.Bullet(true);

        StartCoroutine(LerpThatShit(slime.gameObject.GetComponent <Rigidbody2D>()));
    }