예제 #1
0
 // Update is called once per frame
 void FixedUpdate()
 {
     if (points == lvl * ((int)Mathf.Sqrt(lvl) + 1))
     {
         poolc.clear();
         reward.GetComponent <Reward> ().newItem();
         points = 0;
     }
 }