quality-control/Assets/Scripts/SetItemsOnStart.cs

21 lines
360 B
C#
Raw Permalink Normal View History

2024-08-19 21:32:28 +00:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Nothke.Interaction;
using Nothke.Interaction.Items;
public class SetItemsOnStart : MonoBehaviour
{
public Hands hands;
public GenericItem[] items;
void Start()
{
foreach (var item in items)
{
hands.Take(item);
}
}
}