Beispiel #1
0
 private void AnchorsUpdated()
 {
     if (!_alreadyUpdated)
     {
         _alreadyUpdated = true;
         OnAnchorsFirstUpdate?.Invoke();
     }
     OnAnchorsEveryUpdate?.Invoke();
 }
Beispiel #2
0
 protected override void Update()
 {
     _alreadyUpdated = false;
     if (!_usingOVRUpdates)
     {
         OnAnchorsFirstUpdate?.Invoke();
         OnAnchorsEveryUpdate?.Invoke();
     }
 }