Ejemplo n.º 1
0
 public void StartTractor(Vector2 force, TractorBeamType beamType)
 {
     if (beamType != previousBeamType)
     {
         rb2d.velocity = rb2d.velocity * 0.4f;
     }
     previousBeamType = beamType;
     Tractor(force);
 }
Ejemplo n.º 2
0
 public void SetType(TractorBeamType beamType)
 {
     this.beamType = beamType;
     SetLinePosition();
 }