VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
void AVR.Core.AVR_Logger.Update ( )
inlineprivate

Definition at line 50 of file AVR_Logger.cs.

50  {
51  if(manualLog) return;
52 
53  if(deltaType==deltaTypes.ON_UPDATE) logObjects();
54  else if(deltaType == deltaTypes.CUSTOM && Time.time >= stime + delta - 0.005f) { //0.005f is a small epsilon to account for small framerates
55  logObjects();
56  stime = Time.time;
57  }
58  }
deltaTypes deltaType
Definition: AVR_Logger.cs:27