ORK Framework  2.25.2
API Documentation
ORKFramework.ItemPrefab Class Reference
Inheritance diagram for ORKFramework.ItemPrefab:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

void Upgrade (DataObject data, string prefabField, string offsetField)
 
GameObject GetPrefab ()
 
GameObject CreatePrefabInstance ()
 
- 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

AssetSource< GameObject > prefab = new AssetSource<GameObject>()
 
Vector3 spawnOffset = Vector3.zero