// Use this for initialization void Start() { ballInBusketScriptMB = GameObject.Find("Cart").GetComponent <BallInBusket> (); selectedBalls = ballInBusketScriptMB.selectedBalls; strSltdBalls = Array.ConvertAll(selectedBalls, x => x.ToString()); generateBallsScriptMB = GameObject.Find("Cart").GetComponent <GenerateBalls> (); }
// Use this for initialization void Start() { skin = Resources.Load("ButtonGUISkin") as GUISkin; pauseEnabled = false; otherMenuOpened = false; Time.timeScale = 1; ballInBusketScript = GameObject.Find("Cart").GetComponent <BallInBusket> (); }
// Use this for initialization void Start() { // Special Balls Array........ generateBallsScriptTI = GameObject.Find("Cart").GetComponent <GenerateBalls> (); specialBalls = generateBallsScriptTI.specialBalls; //Special Balls String Array.... strSpecialBalls = System.Array.ConvertAll(specialBalls, w => w.ToString()); ballInBusketScriptTI = GameObject.Find("Cart").GetComponent <BallInBusket> (); }
// Use this for initialization void Start() { timeCount = 0.0f; specialTimeCount = 0.0f; specialBallTimeCount = 0.0f; specialModeTimeCount = 0.0f; longTimeCount = 0.0f; slowMode = false; positivePointMode = false; negativePoinMode = false; // Selected Balls Array........ ballInBusketScriptGB = GameObject.Find("Cart").GetComponent <BallInBusket> (); selectedBalls = ballInBusketScriptGB.selectedBalls; // UnSelected Balls Array .............. UnSelectedBalls = balls.Except(selectedBalls).ToArray(); }