// Use this for initialization void Start() { mGB = GameObject.Find("SnowballCollider").GetComponent<GetBigger>(); leftX = Screen.width * 0.007f; rightX = Screen.width * 0.13f; heightIncrease = Screen.height * 0.047f; firstY = Screen.height * 0.46f; imageSize = Screen.width * 0.045f; this.useGUILayout = false; }
// Use this for initialization void Start() { //if (!mGB) mGB = GameObject.Find("SnowballCollider").GetComponent<GetBigger>(); mGB = GameObject.Find("SnowballCollider").GetComponent<GetBigger>(); }