示例#1
0
文件: Common.cs 项目: n0mimono/Book0
 public static bool IsOppositeTo(this GameObject obj, GameObject other)
 {
     return (obj.IsPlayerTag () && other.IsEnemyTag ())
         || (obj.IsEnemyTag () && other.IsPlayerTag ());
 }