Exemplo n.º 1
0
 // Token: 0x0600186F RID: 6255 RVA: 0x0005BF60 File Offset: 0x0005A160
 private void OnControllerColliderHit(ControllerColliderHit hit)
 {
     global::CCDesc.HitManager hits = this.Hits;
     if (!object.ReferenceEquals(hits, null))
     {
         hits.Push(hit);
     }
 }
Exemplo n.º 2
0
 // Token: 0x0600186E RID: 6254 RVA: 0x0005BF04 File Offset: 0x0005A104
 private void OnDestroy()
 {
     if (this.didSetup && !object.ReferenceEquals(this.hitManager, null))
     {
         global::CCDesc.HitManager hitManager = this.hitManager;
         this.hitManager = null;
         if (this.ccdesc)
         {
             this.ccdesc.AssignedHitManager = null;
         }
         hitManager.Dispose();
     }
 }