Click or drag to resize

PlaceholderModelAcceptsTags Property

Sets the possible items this Placeholder can accept.

Namespace:  Livit.Learn.Model
Assembly:  Livit.Learn.Model (in Livit.Learn.Model.dll) Version: 0.0.0.0
Syntax
C#
public string AcceptsTags { get; set; }

Property Value

Type: String
Remarks

Items listed in AccepsItems will be allowed to be placed on this Placeholder. Multiple values must be separated by semicolons (;).

Can also be left empty to allow any item.

Examples
Accepts one item:
XML
<Placeholder Id="MyPlaceholder" GameObjectId="MyPlaceholder" AcceptsTags="MyItem" />
Accepts multiple items:
XML
<Placeholder Id="MyPlaceholder" GameObjectId="MyPlaceholder" AcceptsTags="MyItem;MyOtherItem" />
Accepts any items:
XML
<Placeholder Id="MyPlaceholder" GameObjectId="MyPlaceholder" AcceptsTags="" />
See Also