21 lines
433 B
C#
21 lines
433 B
C#
using UnityEngine;
|
|
|
|
namespace GameLogic
|
|
{
|
|
public static class StackerDeviceDataUtility
|
|
{
|
|
|
|
/// <summary>
|
|
/// 获取货物或者站点位置信息
|
|
/// </summary>
|
|
/// <param name="data"></param>
|
|
/// <returns></returns>
|
|
public static string GetPositionInfo(StackerData data)
|
|
{
|
|
return $"{data.toRow}-{data.frontColumn}-{data.toLayer}";
|
|
}
|
|
|
|
}
|
|
|
|
}
|