public void RestartTimeline() { timeline.Stop(); Disable.SetActive(true); RetroactiveDisable.SetActive(true); ToggleOnce.SetActive(true); ToggleRepeat.SetActive(true); timeline.Play(); }
public void ToggleRepeatObject() { ToggleRepeat.SetActive(!ToggleRepeat.activeSelf); }