GDTKItemStatSource.InitializeFromOwner
Declaration#
public void InitializeFromOwner(Inventory inventory)Parameters#
| Name | Description |
|---|---|
| inventory | Inventory associated with stat source |
Description#
Initialize the object
Usage#
Example
using NullSave.GDTK.Inventory;using UnityEngine;
public class CodeSample : MonoBehaviour{
public void Example(GDTKItemStatSource target, Inventory other) { // Adds remote targets (Advance Stats) // Then performs standard initialization target.InitializeFromOwner(other); }
}