예제 #1
0
 // Start is called before the first frame update
 void Start()
 {
     idle  = GetComponent <IdleCounter1>();
     toAdd = 0.0f;
     InvokeRepeating("addPoints", 0.0f, 1.0f);
 }
예제 #2
0
 // Start is called before the first frame update
 void Start()
 {
     anim = GetComponent <Animator>();
     idle = SM.GetComponent <IdleCounter1>();
 }