Beispiel #1
0
 public static int KillAll(bool complete, params object[] idsOrTargetsToExclude)
 {
     if (idsOrTargetsToExclude == null)
     {
         return((complete ? DOTween.CompleteAndReturnKilledTot() : 0) + TweenManager.DespawnAll());
     }
     return((complete ? DOTween.CompleteAndReturnKilledTotExceptFor(idsOrTargetsToExclude) : 0) + TweenManager.FilteredOperation(OperationType.Despawn, FilterType.AllExceptTargetsOrIds, null, false, 0f, null, idsOrTargetsToExclude));
 }