public CustomObjectPickerAttribute(ResultObjectType resultObjectType, params System.Type[] typeRestrictions) { this.typeRestrictions = typeRestrictions; this.resultObjectType = resultObjectType; }
public CustomObjectPickerAttribute(params System.Type[] typeRestrictions) { this.typeRestrictions = typeRestrictions; this.resultObjectType = ResultObjectType.SceneOrAsset; }