29 lines
590 B
C#
29 lines
590 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using Beyond;
|
|
using Sirenix.OdinInspector;
|
|
using UnityEngine;
|
|
|
|
namespace Beyond
|
|
{
|
|
|
|
|
|
public class ItemsAdderTester : MonoBehaviour
|
|
{
|
|
[SerializeField] private bItemManager itemManager;
|
|
|
|
// Start is called before the first frame update
|
|
[Button]
|
|
public void AddByString(String itemName)
|
|
{
|
|
itemManager.AddItemByString(itemName);
|
|
}
|
|
[Button]
|
|
public void AddByID(int id)
|
|
{
|
|
itemManager.AddItemByID(id);
|
|
}
|
|
}
|
|
}
|