Пример #1
0
        public void searchObject(UnityEngine.Object obj)
        {
            if (obj == null)
            {
                // Debug.Log("[SearchJob] obj is null::"+assetData.assetPath);
                return;
            }
            else
            {
                // Debug.Log("[SearchJob] searching:"+PathInfo.GetPathInfo(obj).FullPath() , obj);
            }
            SerializedObject   so       = new SerializedObject(obj);
            SerializedProperty iterator = so.GetIterator();

            search.SearchProperty(this, iterator);
            search.SearchObject(this, obj);
        }