ORK Framework  2.22.0
API Documentation
ORKFramework.Events.EventPrefab Class Reference
Inheritance diagram for ORKFramework.Events.EventPrefab:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

void Clear ()
 
void SetPrefab (GameObject obj)
 
GameObject GetPrefab ()
 
GameObject SpawnPrefab (Vector3 position, Vector3 rotation)
 
void DestroyPrefab (int index, float time)
 
List< GameObject > GetSpawnedPrefab (int index)
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Public Attributes

GameObject prefab