Exemple #1
0
 public void StopHugging(GravityHug hug)
 {
     if (hug == this.hug)
     {
         //this.hug = null;
         //body.useGravity = true;
     }
 }
Exemple #2
0
 public void StartHugging(GravityHug hug)
 {
     this.hug        = hug;
     body.useGravity = false;
 }