ContentNamespace.GetOrCreateNamespace

Declaration

public static Unity.Content.ContentNamespace GetOrCreateNamespace(string name);

Parameters

name Name of the ContentNamespace. It must contain only alphanumeric characters and have a maximum length of 16 characters.

Returns

ContentNamespace Returns the specified ContentNamespace object.

Description

Retrieves or creates the ContentNamespace if it doesn't exist.


Did you find this page useful? Please give it a rating: