mirror of
https://github.com/nothke/quality-control.git
synced 2024-11-13 22:33:43 +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);
|
||
|
}
|
||
|
}
|
||
|
}
|