예제 #1
0
 // Use this for initialization
 void Start()
 {
     numPos = 3;
     menuSel = 0;
     vThresh = 0.5f;
     mLoc = new SPoint [numPos];
     mLoc [0] = new SPoint (100.0f, 5.0f);
     mLoc [1] = new SPoint (100.0f, -15.0f);
     mLoc [2] = new SPoint (100.0f, -35.0f);
     inputTmr = new STimer (lTime);
     selTmr = new STimer (lTime);
     mh = GameObject.FindGameObjectWithTag ("MatchHelper").GetComponent ("MatchHelper") as MatchHelper;
     DebugSelDisplay (mh.GetDebugMode ());
     stockNum = mh.GetStocks ();
     stockDisp.text=stockNum.ToString();
 }