Version 3.1.1.0

ValidationItem struct

Namespace: Sirenix.OdinValidator.Editor
Assembly: Sirenix.OdinValidator.Editor
public struct ValidationItem

Fields

AddressableGroup
public string AddressableGroup
Asset
public ValidationItem.AssetToValidate Asset
AssetBundle
public string AssetBundle
Enabled
public bool Enabled
Object
public Object Object
Scene
public ValidationItem.SceneToValidate Scene
Type
public ValidationItem.ValidationItemType Type

Methods

FromAddressableGroup(String)
public static ValidationItem FromAddressableGroup(string addressableGroup)
Parameters
System.String addressableGroup

Returns
ValidationItem

FromAssetBundle(String)
public static ValidationItem FromAssetBundle(string assetBundle)
Parameters
System.String assetBundle

Returns
ValidationItem

FromAssetPath(String)
public static ValidationItem FromAssetPath(string path)
Parameters
System.String path

Returns
ValidationItem

FromAssetPath(String, String)
public static ValidationItem FromAssetPath(string path, string filter = null)
Parameters
System.String path

System.String filter

Returns
ValidationItem

FromOpenScenes(Boolean)
public static ValidationItem FromOpenScenes(bool includeAssetDeps = false)
Parameters
System.Boolean includeAssetDeps

Returns
ValidationItem

FromSceneFolderPath(String, Boolean)
public static ValidationItem FromSceneFolderPath(string path, bool includeAssetDeps = false)
Parameters
System.String path

System.Boolean includeAssetDeps

Returns
ValidationItem

FromSceneGuid(String, Boolean)
public static ValidationItem FromSceneGuid(string guid, bool includeAssetDeps = false)
Parameters
System.String guid

System.Boolean includeAssetDeps

Returns
ValidationItem

FromScenePath(String, Boolean)
public static ValidationItem FromScenePath(string path, bool includeAssetDeps = false)
Parameters
System.String path

System.Boolean includeAssetDeps

Returns
ValidationItem

FromScenesInBuildOptions(Boolean)
public static ValidationItem FromScenesInBuildOptions(bool includeAssetDeps = false)
Parameters
System.Boolean includeAssetDeps

Returns
ValidationItem

FromUnityObjectReference(Object)
public static ValidationItem FromUnityObjectReference(Object obj)
Parameters
UnityEngine.Object obj

Returns
ValidationItem