W_WuHuVR/Medicine/Assets/Scripts/Item.cs

20 lines
343 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Item : MonoBehaviour
{
public int num;
// Start is called before the first frame update
void Start()
{
num = int.Parse(transform.name);
}
// Update is called once per frame
void Update()
{
}
}