public static void AddOnce(this LongEvent thisEvent, UnityAction <long> reciever) { thisEvent.RemoveListener(reciever); thisEvent.AddListener(reciever); }