コード例 #1
0
ファイル: Interactable.cs プロジェクト: castorga/DDI_2021-1
 public virtual void Update()
 {
     if (gazedAt)
     {
         if ((gazeTimer += Time.deltaTime) >= gazeInteractTime)
         {
             Debug.Log("Interaccion por timer");
             initiative.doInitiative();
             gazedAt   = false;
             gazeTimer = 0f;
         }
     }
 }