This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class Ball : MonoBehaviour { | |
private Paddle paddleObject; | |
private Vector3 paddleToBallVector; | |
private bool hasStarted = false; | |
// Use this for initialization |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class LoseCollider : MonoBehaviour { | |
public static int playerLives = 2; | |
private LevelManager lvlManager; | |
private LivesTextIndicatorUI uiLivesIndicator; | |
private Ball ball; |