Skip to main content

GDTKItem.DataSave

Declaration#

public void DataSave(Stream stream)

Parameters#

NameDescription
streamStream to use

Description#

Save data to a stream

Usage#

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