Method CanEnableSchema
CanEnableSchema()
Determines whether the ContentDirectorySchema can be enabled or not. A ContentDirectorySchema can be enabled if there are no other buildable schemas (such as a Content Packing & Loading Schema) enabled. Used e.g. when adding a schema via Add Schema so the new schema is defaulted to disabled when the other is already enabled. The user can still manually enable both in the inspector; the group inspector then shows an error.
Declaration
public override string CanEnableSchema()
Returns
| Type | Description |
|---|---|
| string | Returns an empty string if enabling is valid, or an error/warning string if another buildable schema is already enabled. |