Ejemplo n.º 1
0
 private void Start()
 {
     paddle       = GameObject.FindWithTag("Paddle").transform;
     brickManager = GameObject.FindWithTag("BrickManager").GetComponent <BrickManager>();
     laserHit     = brickManager.GetClosestBrick(paddle);
     lr           = GetComponent <LineRenderer>();
     posGrown     = transform.position;
     fadeTime     = .09f;
 }