20 lines
343 B
C#
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()
|
|
{
|
|
|
|
}
|
|
}
|