コード例 #1
0
 // Start is called before the first frame update
 void Start()
 {
     anim = GetComponent <Animator>();
     idle = SM.GetComponent <IdleCounter>();
 }
コード例 #2
0
ファイル: AddtoCounter.cs プロジェクト: DarkPhantomEx/CAL
 // Start is called before the first frame update
 void Start()
 {
     idle  = GetComponent <IdleCounter>();
     toAdd = 0.0f;
     InvokeRepeating("addPoints", 0.0f, 1.0f);
 }