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 PowerUp : MonoBehaviour | |
| { | |
| void OnTriggerEnter(Collider Other) | |
| { | |
| if (Other.CompareTag ("Player")) | |
| { | 
  
    
      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 GameController : MonoBehaviour | |
| { | |
| public int NumPowerUpObjects = 0; | |
| // Use this for initialization | |
| void Start () | |
| { | 
  
    
      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 ObjectClicker : MonoBehaviour | |
| { | |
| public GameObject[] ObjectList; | |
| void OnMouseDown() | |
| { | |
| gameObject.SetActive(false); | 
  
    
      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 Mover : MonoBehaviour | |
| { | |
| private Transform ThisTransform = null; | |
| //Speed (meters per second) | |
| public float Speed = 10; | 
  
    
      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 Mover : MonoBehaviour | |
| { | |
| private Transform ThisTransform = null; | |
| public float Speed = 0.2f; | |
| // 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 Pin : MonoBehaviour { | |
| //public float standingThreshold = 5f; | |
| // Use this for initialization | |
| void Start () { | |
| } | 
  
    
      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; | |
| [RequireComponent (typeof(Ball))] | |
| public class DragLaunch : MonoBehaviour { | |
| private Vector3 dragStart; | |
| private Vector3 dragEnd; | |
| private float startTime; | |
| private float endTime; | |
| private Ball ball; | 
  
    
      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; | |
| using UnityEngine.UI; | |
| public class PinSetter : MonoBehaviour { | |
| public Text pinCountDisplay; | |
| bool ballEnteredBox = false; | |
| // Use this for initialization | |
| void Start () { | 
  
    
      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; | |
| using UnityEngine.UI; | |
| public class PinSetter : MonoBehaviour { | |
| public Text pinCountDisplay; | |
| bool ballEnteredBox = false; | |
| // Use this for initialization | |
| void Start () { | 
  
    
      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 Pin : MonoBehaviour { | |
| public float standingThreshold = 12f; | |
| // Use this for initialization | |
| void Start () { | |
| } |