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