예제 #1
0
    //TEsting variables
    //public int testingRow;
    //public int testingEnemy;

    //

    void Start()
    {
        scoreDisplay.text  = "Score: " + currentScore;
        hiddenScore        = 0;
        enemyBlockMovement = FindObjectOfType <EnemyBlockMovement> ();
        playerController   = FindObjectOfType <PlayerController> ();
        currentLives       = 2;
    }
예제 #2
0
 // Use this for initialization
 void Start()
 {
     enemyBlockMovement = FindObjectOfType <EnemyBlockMovement> ();
 }