PrefabInstance
Extends:
Static Member Summary
| Static Public Members | ||
| public static get |
instancing: * |
|
| public static get |
propsTypes: {"asset": string, "count": string, "components": string} |
|
Static Method Summary
| Static Public Methods | ||
| public static |
factory(): * |
|
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public get |
asset: * |
|
| public set |
|
|
| public get |
components: * |
|
| public set |
|
|
| public get |
count: * |
|
| public set |
|
|
| public get |
events: * |
|
Inherited Summary
| From class Component | ||
| public static get |
propsTypes: * |
|
| public static |
Component factory. |
|
| public get |
|
|
| public |
[name]: * |
|
| public |
deserialize(json: *) Deserialize JSON properties into this component. |
|
| public |
dispose() Destructor (dispose internal resources and detach from entity). |
|
| public |
Called when action arrived. |
|
| public |
onAlterActionArguments(name: string, args: *): array | undefined Called when asked to alter arrived action parameters. |
|
| public |
onAttach() Called after attached to entity. |
|
| public |
onDetach() Called before detached from entity. |
|
| public |
onPropertySerialize(name: string, value: *): * Called when property is serialized. |
|
| public |
onPropertySetup(name: string, value: *) Called when given property is deserialized. |
|
| public |
serialize(): * Serialize component into JSON data. |
|
Static Public Members
public static get instancing: * source
public static get propsTypes: {"asset": string, "count": string, "components": string} source
Override:
Component#propsTypesStatic Public Methods
Public Constructors
Public Members
public get asset: * source
public set asset source
public get components: * source
public set components source
public get count: * source
public set count source
public get events: * source
Public Methods
public dispose() source
Destructor (dispose internal resources and detach from entity).
