ItemContainer.DataLoad
Declaration#
public virtual void DataLoad(Inventory host, Stream stream)Parameters#
| Name | Description |
|---|---|
| host | Inventory hosting this object |
| stream | Stream 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(ItemContainer target, Inventory other, FileStream stream) { target.DataLoad(other, stream); }
}