Esempio n. 1
0
        public bool IsGameObjectMasked(GameObject gameObject)
        {
            if (ObjectLayerObjectMask.IsMasked(gameObject.layer))
            {
                return(true);
            }
            if (ObjectCollectionMask.IsMasked(gameObject))
            {
                return(true);
            }

            return(false);
        }
 public ObjectCollectionMaskView(ObjectCollectionMask mask)
 {
     _mask = mask;
 }
Esempio n. 3
0
 public void RemoveInvalidEntries()
 {
     ObjectCollectionMask.RemoveNullEntries();
     ObjectLayerObjectMask.RemoveInvalidLayerNumbers();
 }