2022-11-04 17:31:53 +08:00
|
|
|
|
using SHADE;
|
|
|
|
|
using System;
|
|
|
|
|
public class Item : Script
|
|
|
|
|
{
|
|
|
|
|
public enum ItemCategory
|
|
|
|
|
{
|
|
|
|
|
LIGHT,
|
|
|
|
|
MEDIUM,
|
|
|
|
|
HEAVY
|
|
|
|
|
}
|
2022-11-17 12:54:08 +08:00
|
|
|
|
|
2022-11-17 00:23:38 +08:00
|
|
|
|
public int Score = 10;
|
2022-11-04 17:31:53 +08:00
|
|
|
|
|
|
|
|
|
public ItemCategory currCategory;
|
|
|
|
|
|
|
|
|
|
protected override void awake()
|
|
|
|
|
{
|
|
|
|
|
}
|
2022-11-17 12:54:08 +08:00
|
|
|
|
|
|
|
|
|
protected override void onTriggerEnter(CollisionInfo info)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2022-11-04 17:31:53 +08:00
|
|
|
|
}
|