Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetOrCreateNamespace(string)

Retrieves or creates the ContentNamespace if it doesn't exist.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Method
  • Namespace: Unity.Content
  • Assembly: UnityEngine.CoreModule
public static 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

Type

Description

ContentNamespaceReturns the specified ContentNamespace object.