Change animation exit time

Hello friends is it possible to change the animation exit time using script.
@JawadAhmad0

Yes it is.

Two things, though:

  1. You must have hasExitTime set to true for it to work
  2. State must have run once for exitTime = 0 to work