GDTKItem.CopyValues
Declaration#
public void CopyValues(GDTKItem item)Parameters#
| Name | Description |
|---|---|
| item | Object 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); }
}