mirror of
https://github.com/nothke/quality-control.git
synced 2025-08-30 15:33:44 +00:00
Hammer now taken on start
This commit is contained in:
20
Assets/Scripts/SetItemsOnStart.cs
Normal file
20
Assets/Scripts/SetItemsOnStart.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user