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);
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: bb13478e4c42bd7489db482354f8b915
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: