コード例 #1
0
ファイル: EmeryAI.cs プロジェクト: chobitsfan/new_mr_game
 // Update is called once per frame
 void Update()
 {
     shootingCD -= Time.deltaTime;
     if (shootingCD < 0)
     {
         act.Shot();
         shootingCD = 1f;
     }
 }
コード例 #2
0
 public void OnShot()
 {
     virtualAction.Shot();
 }