Version 3.1.1.0

MustBeAPrefabValidator class

Namespace: Sirenix.OdinValidator.Editor.Validators
Assembly: Sirenix.OdinValidator.Editor
public class MustBeAPrefabValidator : RootObjectValidator<GameObject>, IValidator, DefaultValidatorLocator.IValueValidator_InternalTemporaryHack
Inheritance

Constructors

MustBeAPrefabValidator()
public MustBeAPrefabValidator()

Fields

ComponentTypes
[ValueDropdown("GetAllCmpTypes", IsUniqueList = true)]
public Type[] ComponentTypes
MakePrefabAssetLocation
public string MakePrefabAssetLocation

Methods

Validate(ValidationResult)
protected override void Validate(ValidationResult result)
Parameters
ValidationResult result