ORK Framework  2.25.2
API Documentation
ORKFramework.DropInfo Class Reference
Inheritance diagram for ORKFramework.DropInfo:
ORKFramework.ISaveData

Public Member Functions

 DropInfo (IShortcut shortcut, Vector3 position, Vector3 rotation)
 
 DropInfo (DataObject data)
 
void Drop ()
 
DataObject SaveGame ()
 Used to save the data - you need to add the data to a ORKFramework.DataObject. More...
 
void LoadGame (DataObject data)
 Used to load the data - you need to get the data from the ORKFramework.DataObject. More...
 

Public Attributes

Vector3 position = Vector3.zero
 
Vector3 rotation = Vector3.zero
 

Properties

IShortcut Item [get]
 

Member Function Documentation

◆ LoadGame()

void ORKFramework.DropInfo.LoadGame ( DataObject  data)

Used to load the data - you need to get the data from the ORKFramework.DataObject.

Parameters
dataA ORKFramework.DataObject containing the data.

Implements ORKFramework.ISaveData.

◆ SaveGame()

DataObject ORKFramework.DropInfo.SaveGame ( )

Used to save the data - you need to add the data to a ORKFramework.DataObject.

Returns
A ORKFramework.DataObject containing the data.

Implements ORKFramework.ISaveData.