mirror of
https://github.com/nothke/quality-control.git
synced 2024-12-23 00:07:28 +00:00
21 lines
360 B
C#
21 lines
360 B
C#
|
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);
|
||
|
}
|
||
|
}
|
||
|
}
|