// Start is called before the first frame update void Start() { transition = false; Ball = GameObject.Find("CreateBall"); createBall = Ball.GetComponent <CreateBall>(); Debug.Log(createBall.name); //Debug.Log(LoadData()); //if() //BallCreateNum = SceneSystem.StartBall; }
// Start is called before the first frame update void Start() { obj = GameObject.Find("CreateBall"); script = obj.GetComponent <CreateBall>(); Debug.Log(obj.name); }