Пример #1
0
 void Update()
 {
     foreach (var target in targets)
     {
         ExecuteInTurn(target, () => {
             Affect.Use(own, this);
             if (turn == turnNumber)
             {
                 Destroy(gameObject);
             }
         });
     }
 }