Example #1
0
 private void Reset()
 {
     ib   = GetComponent <InteractBase>();
     geos = new StabGeometry[] {
         new StabGeometry()
     };
 }
Example #2
0
 public void Reset()
 {
     if (interact == null && transform.parent != null)
     {
         interact = transform.root.gameObject.GetComponent <InteractBase>();
         if (selfRB == null && interact != null)
         {
             selfRB = interact.rb;
         }
     }
 }
Example #3
0
 protected void Reset()
 {
     interact = GetComponent <InteractBase>();
 }