Files
ZHGD_Web/Assets/Scripts/Func/WorkShip/WorkShipBind.cs
2025-07-13 23:16:20 +08:00

33 lines
779 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class WorkShipBind : MonoBehaviour
{
[Header("类别(名称/工艺)")]
public int type;
[Header("唯一数值")]
public string key;
[Header("模型名称")]
public string meshName;
[Header("将显示的内容"),Multiline(5)]
public string content;
[Header("中心点,如果模型中心点不在模型上则需要在物体子物体下新建一个空物体使其在模型上并拖进来")]
public Transform target;
}
public class WorkShip
{
public string SceneName { get; set; }
public List<Meshinfo> MeshInfos { get; set; }
}
public class Meshinfo
{
public int type { get; set; }
public string key { get; set; }
public string meshName { get; set; }
public string content { get; set; }
}