1using System.Collections;
2using System.Collections.Generic;
9 List<GameObject> modifiedGOs =
new List<GameObject>();
19 foreach (var go
in gameobjects)
27 foreach (var coll
in colliders)
29 modifiedGOs.Add(coll.gameObject);
36 foreach (var go
in gameobjects)
38 modifiedGOs.Remove(go);
39 if (!modifiedGOs.Contains(go))
void ResetLayer(GameObject[] gameobjects)
void SetLayer(Collider[] colliders)
static HandCollisionManager instance
void SetLayer(GameObject[] gameobjects)
static void SetLayer(GameObject go, string layerName)