Version: 2023.1

ContentNamespace.GetOrCreateNamespace

切换到手册
public static Unity.Content.ContentNamespace GetOrCreateNamespace (string name);

参数

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

返回

ContentNamespace Returns the specified ContentNamespace object.

描述

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