UnityEditor.EditorUtility.IsPersistent C# (CSharp) Method

IsPersistent() private method

private IsPersistent ( Object target ) : bool
target Object
return bool
        public static extern bool IsPersistent(Object target);
        [MethodImpl(MethodImplOptions.InternalCall)]

Usage Example

        static bool CreatePrefabVariantValidation()
        {
            var go = Selection.activeGameObject;

            return(go != null && EditorUtility.IsPersistent(go));
        }
All Usage Examples Of UnityEditor.EditorUtility::IsPersistent
EditorUtility