// Use this for initialization void Start() { bEmitter = GameObject.Find("Emitter").GetComponent <BallEmitter> (); dragBallButton = GameObject.Find("DragBallButton"); }
void Awake() { instance = this; }