/// <summary>
 /// The Check method is used to check if a game object should be ignored based on a given string or policy list.
 /// </summary>
 /// <param name="obj">The game object to check.</param>
 /// <param name="list">The policy list to use for checking.</param>
 /// <returns>Returns true of the given game object matches the policy list or given string logic.</returns>
 public static bool Check(GameObject obj, VRTK_PolicyList list)
 {
     if (list)
     {
         return(list.Find(obj));
     }
     return(false);
 }
Beispiel #2
0
 // Token: 0x06001BBB RID: 7099 RVA: 0x00090FC3 File Offset: 0x0008F1C3
 public static bool Check(GameObject obj, VRTK_PolicyList list)
 {
     return(list != null && list.Find(obj));
 }