This version of Unity is unsupported.

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.