Prefab

A prefab that allows for quick object creation.

Constructors

this
this(GameObject.Description desc, Resource filePath)

Creates a prefab from a description.

Members

Functions

createInstance
GameObject createInstance()

Creates a GameObject instance from the prefab.

name
const(string) name()

The name of the prefab.

Variables

description
GameObject.Description description;

The description to create objects from.

Meta