Beispiel #1
0
    public void Init()
    {
        obj.audioSource.clip = obj.throwSound;
        obj.audioSource.Play();
        obj.projectileInstance.Throw(obj.arc.range);
        obj.anim.Play(obj.arc.range > 3.0f ? "Throw" : "FastThrow");

        obj.ReleaseProjectile();
        obj.ResetArcRange();
        obj.StartCoroutine(InputDelay());
    }