Stop Photon Countdown timer

Options

Hello, i am using the Photon countdown timer from the utilityscripts. While counting down I want to stop the countdown timer and reset it, but i can't find a way to do this. There doesn't seem to be a function built in the Photon CountdownTimer.cs script to stop the timer.

Can someone help?

Best Answer

  • Tobias
    Tobias admin
    Answer ✓
    Options

    Sorry but that's not built in and we can't quickly add it (always busy).

    Have a look around the code and comments. You more or less want to set a new time, so maybe just repeat what's done initially.

Answers

  • Tobias
    Tobias admin
    Answer ✓
    Options

    Sorry but that's not built in and we can't quickly add it (always busy).

    Have a look around the code and comments. You more or less want to set a new time, so maybe just repeat what's done initially.

  • RAKUS
    Options

    Ahh, so the best way to achieve this is probably to add a new function to the script that stops the timer.

    But thanks for the reply!