Exemplo n.º 1
0
 //end a snap if there is one, can be called from other scripts such as the Glass Transform
 public override void DoHitEnd()
 {
     if (source != null)
     {
         source.EndSnap();
         source = null;
     }
 }
Exemplo n.º 2
0
 public override void DoHitStart(ArcReactorHitInfo hitInfo)
 {
     source = (LaserSnapFrom)hitInfo.launcher;
     source.StartSnap(this);
 }