Exemplo n.º 1
0
Arquivo: Robot.cs Projeto: iszen/LABOR
    public void Run()
    {
        robotMovement.RunTo(player.transform);

        disabler            = player.GetComponent <TeleporterDisabler>();
        disabler.isAttacked = true;

        runSound.loop = true;
        runSound.Play();

        animations.SetBool("run", true);

        running = true;
        hitting = false;
    }