コード例 #1
0
ファイル: Building.cs プロジェクト: orecros/chillenium2019
 protected virtual void Update()
 {
     if (health.AtMax() || health.IsDead() || repairing)
     {
         canInteract = false;
     }
     else
     {
         canInteract = true;
     }
 }
コード例 #2
0
 protected virtual void Update()
 {
     if (health.AtMax() || beingHealed)
     {
         canInteract = false;
     }
     else
     {
         canInteract = true;
     }
 }