Meta SDK2 Beta  2.7.0
Meta.IMonoBehaviourProxy< T > Interface Template Reference

Handles the access to a prefab, in order to create and destroy one instance of it. More...

Inheritance diagram for Meta.IMonoBehaviourProxy< T >:
Meta.MonoBehaviourProxy< T >

Public Member Functions

Create ()
 Creates a new instance of the prefab More...
 
void Destroy ()
 Destroys the current instantiated object More...
 

Detailed Description

Handles the access to a prefab, in order to create and destroy one instance of it.

Type Constraints
T :Object 

Member Function Documentation

◆ Create()

T Meta.IMonoBehaviourProxy< T >.Create ( )

Creates a new instance of the prefab

Implemented in Meta.MonoBehaviourProxy< T >.

◆ Destroy()

void Meta.IMonoBehaviourProxy< T >.Destroy ( )

Destroys the current instantiated object

Implemented in Meta.MonoBehaviourProxy< T >.