Example #1
0
 // Token: 0x0600230E RID: 8974 RVA: 0x000AC522 File Offset: 0x000AA722
 private void SetAutoUpdate(bool value)
 {
     if (this.m_AutoUpdatePosition == value)
     {
         return;
     }
     this.m_AutoUpdatePosition = value;
     if (value)
     {
         NavMeshLink.AddTracking(this);
         return;
     }
     NavMeshLink.RemoveTracking(this);
 }
Example #2
0
 private void OnDisable()
 {
     NavMeshLink.RemoveTracking(this);
     ((NavMeshLinkInstance) ref this.m_LinkInstance).Remove();
 }