Skip to main content

GDTKItem.DataLoad

Declaration#

public void DataLoad(Inventory host, Stream stream)

Parameters#

NameDescription
hostInventory hosting the item
streamStream to use

Description#

Load data from a stream

Usage#

using NullSave.GDTK.Inventory;using System.IO;using UnityEngine;
public class Example : MonoBehaviour{
    public void ExampleMethod(GDTKItem target, Inventory other, FileStream stream)    {        target.DataLoad(other, stream);    }

}