Exemple #1
0
 public static bool FlagPlayOnEnable(this TweenPlayFlags self)
 {
     return(self.HasFlagNonAlloc(TweenPlayFlags.PlayOnEnable));
 }
Exemple #2
0
 public static bool FlagPlayOnStart(this TweenPlayFlags self)
 {
     return(self.HasFlagNonAlloc(TweenPlayFlags.PlayOnStart));
 }
Exemple #3
0
 public static bool FlagReversed(this TweenPlayFlags self)
 {
     return(self.HasFlagNonAlloc(TweenPlayFlags.Reverse));
 }
Exemple #4
0
 public static bool FlagLoop(this TweenPlayFlags self)
 {
     return(self.HasFlagNonAlloc(TweenPlayFlags.Loop));
 }
Exemple #5
0
 public static bool FlagPingPong(this TweenPlayFlags self)
 {
     return(self.HasFlagNonAlloc(TweenPlayFlags.PingPong));
 }
Exemple #6
0
 public static bool HasFlagNonAlloc(this TweenPlayFlags self, TweenPlayFlags flag)
 {
     return((self & flag) == flag);
 }