25 lines
565 B
C#
25 lines
565 B
C#
using System.Collections;
|
||
using System.Collections.Generic;
|
||
using UnityEngine;
|
||
//============================================================
|
||
//支持中文,文件使用UTF-8编码
|
||
//@author #AUTHOR#
|
||
//@create #CREATEDATE#
|
||
//@company #COMPANY#
|
||
//
|
||
//@description:
|
||
//============================================================
|
||
|
||
public class UPosItem : MonoBehaviour
|
||
{
|
||
/// <summary>
|
||
/// 是否被占用
|
||
/// </summary>
|
||
public bool isOccupied = false;
|
||
public int ID;
|
||
private void Start()
|
||
{
|
||
ID = int.Parse(gameObject.name);
|
||
}
|
||
}
|