Inheritance: MonoBehaviour
Beispiel #1
0
 public Racket(Pongpector pongpector, bool isTop)
 {
     this.pongpector = pongpector;
     this.texture = pongpector.texture;
     this.isTop = isTop;
     y = (isTop ? pongpector.height * 0.05f : pongpector.height * 0.95f);
 }
Beispiel #2
0
 public Racket(Pongpector pongpector, bool isTop)
 {
     this.pongpector = pongpector;
     this.texture    = pongpector.texture;
     this.isTop      = isTop;
     y = (isTop ? pongpector.height * 0.05f : pongpector.height * 0.95f);
 }
Beispiel #3
0
 public Ball(Pongpector pongpector)
 {
     this.pongpector = pongpector;
     this.texture    = pongpector.texture;
 }
Beispiel #4
0
 public Ball(Pongpector pongpector)
 {
     this.pongpector = pongpector;
     this.texture = pongpector.texture;
 }