Hammer now taken on start

This commit is contained in:
nothke
2024-08-19 23:32:28 +02:00
parent 3762b867aa
commit 71f05400e4
3 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
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);
}
}
}