Ejemplo n.º 1
0
 public static void StopTween(GameObject reference, Tween.StopAction stopAction)
 {
     foreach (KeyValuePair <string, Tween> tween in tweens)
     {
         if (tween.Value.CurrentConfig.GameObject == reference)
         {
             tween.Value.Stop(stopAction);
         }
     }
 }
Ejemplo n.º 2
0
 public static void StopTween(string id, Tween.StopAction stopAction)
 {
     foreach (KeyValuePair <string, Tween> tween in tweens)
     {
         if (tween.Value.CurrentConfig.Id == id)
         {
             tween.Value.Stop(stopAction);
         }
     }
 }