Esempio n. 1
0
 public static bool IsOppositeTo(this GameObject obj, GameObject other)
 {
     return (obj.IsPlayerTag () && other.IsEnemyTag ())
         || (obj.IsEnemyTag () && other.IsPlayerTag ());
 }