Skip to main content

GDTKItem.CopyValues

Declaration#

public void CopyValues(GDTKItem item)

Parameters#

NameDescription
itemObject to copy values from

Description#

Copy all values from another object to this one

Usage#

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

}