Example #1
0
    public void NextEvent()
    {
        ulong t = System.Math.Max(0ul, end_time - next_event_time);
        float r = (float)((double)t / (double)this.remaining);
        float n = GTW.e_random(r);

        next_event_time += (ulong)n;
        angle           += Mathf.PI / 5f;
    }
Example #2
0
 void Awake()
 {
     Instance = this;
     CreateSystems();
 }