Compare commits

..

2 Commits

Author SHA1 Message Date
45d5456a81 部分修改 2025-05-09 15:30:23 +08:00
2657b3b1d0 完成堆垛机装货和卸货 2025-05-09 14:22:46 +08:00
18 changed files with 735 additions and 342 deletions

View File

@ -110,4 +110,6 @@ MonoBehaviour:
- Name:
Entry: 8
Data:
deviceCode: DDJ01
deviceType: STACKER
groups: 010000000300000004000000

File diff suppressed because one or more lines are too long

View File

@ -148570,10 +148570,10 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
_id: 0
_actionType: 0
_moveSpeed: 5
_moveSeconds: 0
_shelfconfig: {fileID: 0}
_loadPickUpOffest: 0.2
_loadPutDownOffest: 0.2
_UnloadPickUpOffest: 0.2
_UnloadPutDownOffest: 0.2
--- !u!114 &7671920962013540943
MonoBehaviour:
m_ObjectHideFlags: 0
@ -150165,6 +150165,9 @@ PrefabInstance:
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: a8fcb4c823a21fb40ba82978968e1c21, type: 3}
insertIndex: -1
addedObject: {fileID: 6092765321511910216}
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: a8fcb4c823a21fb40ba82978968e1c21, type: 3}
insertIndex: -1
addedObject: {fileID: 3084122142851895118}
m_SourcePrefab: {fileID: 100100000, guid: a8fcb4c823a21fb40ba82978968e1c21, type: 3}
--- !u!4 &4816128638542576846 stripped
Transform:
@ -150190,6 +150193,18 @@ MonoBehaviour:
m_EditorClassIdentifier:
_id: 0
_shelfConfig: {fileID: 0}
--- !u!114 &3084122142851895118
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5304540892573083252}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 20e0d00e57698f84887368e168629083, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1001 &5956433743207170642
PrefabInstance:
m_ObjectHideFlags: 0

View File

@ -39,22 +39,39 @@ namespace GameLogic
protected override void OnUpdate()
{
base.OnUpdate();
if (Input.GetKeyDown(KeyCode.R))
{
try
{
Debug.LogWarning("取货03-01-02");
var co = _containerInfos["03-01-02"];
co.shelf.LoadTest(co);
}
catch (Exception e)
{
Debug.LogWarning("货物不存在");
throw;
}
}
// if (Input.GetKeyDown(KeyCode.R))
// {
// try
// {
// Debug.LogWarning("取货03-01-02");
// var co = _containerInfos["03-01-02"];
// //co.shelf.LoadTest(co,gameObject);
// }
// catch (Exception e)
// {
// Debug.LogWarning("货物不存在");
// throw;
// }
//
// }
//
// if (Input.GetKeyDown(KeyCode.T))
// {
// try
// {
// Debug.LogWarning("取货03-01-02");
// var co = _containerInfos["03-01-02"];
// co.shelf.UnLoadTest(co);
// }
// catch (Exception e)
// {
// Debug.LogWarning("货物不存在");
// throw;
// }
//
// }
}
/// <summary>

View File

@ -44,7 +44,7 @@ namespace GameLogic
/// <summary>
/// 取货
/// </summary>
public void LoadContainer(string station,ContainerInfo container)
public void LoadContainer(string station,GameObject container,ContainerInfo coInfo)
{
}
@ -62,11 +62,35 @@ namespace GameLogic
GameObject go = Instantiate(containerPrefab);
container.container = go;
go.SetTransformNoScale(stationT);
station = stationT;
}
_shelfMachineToolActor.Load(station,container,_shelfConfig);
}
/// <summary>
/// 取货
/// </summary>
public void UnLoadTest(ContainerInfo container)
{
Debug.LogWarning("取货成功");
_currentContainerInfo = container;
Transform station = null;
foreach (var stationT in _stations.Values)
{
// var containerPrefab = Resources.Load<GameObject>(AssetLocationSetting.ContainerPath);
// GameObject go = Instantiate(containerPrefab);
// container.container = go;
// go.SetTransformNoScale(stationT);
station = stationT;
}
_shelfMachineToolActor.UnLoad(station,container,_shelfConfig);
}
/// <summary>
/// 判断这个货物是否包含这个组内

View File

@ -12,34 +12,39 @@ namespace GameLogic
public class ShelfMachineToolActor : Actor
{
[ShowInInspector,ReadOnly]private BehaviourTreeOwner _behaviourTreeOwner;
[ShowInInspector,ReadOnly]public ShelfToolActionType _actionType = ShelfToolActionType.None;
[ShowInInspector,ReadOnly]private ShelfToolActionType _actionType = ShelfToolActionType.None;
[ShowInInspector,ReadOnly] public float _moveSpeed = 5;
[ShowInInspector,ReadOnly] public float _moveSeconds = 0;
[ShowInInspector] public So_ShelfConfig _shelfconfig = null;
[ShowInInspector,ReadOnly] private float _moveSpeed = 200;
[ShowInInspector,ReadOnly] private float _moveSeconds = 0;
[Title("外部赋值参数")]
[ShowInInspector,ReadOnly] private So_ShelfConfig _shelfconfig = null;
[ShowInInspector,ReadOnly] private ShelfRowAnimData _shelfRowAnimData = null;
[ShowInInspector,ReadOnly]private Transform _station;
[ShowInInspector,ReadOnly]private ContainerInfo _currentContainerInfo;
[Title("私有参数")]
[ShowInInspector,ReadOnly] private bool _isPlayingAnim = false;
[ShowInInspector,ReadOnly] private ShelfRowAnimData _shelfRowAnimData = null;
[ShowInInspector,ReadOnly] private Transform _containerPlaceToolParent = null;
[Title("组件参数")]
[LabelText("堆垛机拿取货物动画上偏移"),ShowInInspector,ReadOnly] public float _loadPickUpOffest = 0.2F;
[LabelText("堆垛机放下货物动画下偏移"),ShowInInspector,ReadOnly] public float _loadPutDownOffest = 0.2F;
[LabelText("堆垛机卸货拿取货物动画上偏移"),ShowInInspector,ReadOnly] public float _UnloadPickUpOffest = 0.2F;
[LabelText("堆垛机卸货放下货物动画下偏移"),ShowInInspector,ReadOnly] public float _UnloadPutDownOffest = 0.2F;
[ShowInInspector] private Vector3 _initPosition;
[ShowInInspector,ReadOnly]private bool _isRunning = false;
[ShowInInspector] private Tween _defaultPosTween;
[Title("一些组件参数")]
private Transform _caroparent;
private Transform _station;
private ContainerInfo _currentContainerInfo;
private AnimancerComponent _animancer;
[LabelText("堆垛机拿取货物动画上偏移")] public float _upOffest = 0.2F;
[LabelText("堆垛机放下货物动画下偏移")] public float _downOffest = -0.2F;
[Title("装货行为树参数")]
[ShowInInspector,BoxGroup("Load"),ReadOnly]private bool _isEnableArriveStationPositionComplete = false;
[ShowInInspector,BoxGroup("Load"),ReadOnly]private bool _isEnablePickUpAnimationComplete = false;
[ShowInInspector,BoxGroup("Load"),ReadOnly]private bool _isEnableArriveContainerPositionComplete = false;
[ShowInInspector,BoxGroup("Load"),ReadOnly]private bool _isEnablePutDownAnimationComplete = false;
[Title("加载参数")]
[ShowInInspector,BoxGroup("Load"),ReadOnly]public bool _isInitLoadPositionComplete = false;
[ShowInInspector,BoxGroup("Load"),ReadOnly]public bool _isEnableLoadStartAnimationComplete = false;
[ShowInInspector,BoxGroup("Load"),ReadOnly]public bool _isEnableStartLoadToShelfPosition = false;
protected override void OnLoad()
{
base.OnLoad();
@ -47,6 +52,11 @@ namespace GameLogic
_animancer = GetComponent<AnimancerComponent>();
_caroparent = transform.Find("Caro-parent").Find("Cargo");
_containerPlaceToolParent = _caroparent.Find("fork").Find("k");
_loadPickUpOffest = 0.1F;
_loadPutDownOffest = 0.2F;
_UnloadPickUpOffest = 0.08F;
_UnloadPutDownOffest = 0.2F;
}
protected override void RegisterEvent()
@ -60,130 +70,85 @@ namespace GameLogic
// GameEvent.RemoveListener(EventSetting.PlayStretchComplete,PlayLoadStretchComplete);
}
#region
/// <summary>
/// 计算速度
/// </summary>
/// <param name="distance"></param>
private void CalculateSpeedSecond(float distance)
{
_moveSeconds = distance / _moveSpeed;
_moveSeconds = distance / (_moveSpeed*Time.deltaTime);
}
private AnimationEvent[] GetAnimationEvent(string functionName,ToolActionType actionType)
{
AnimationEvent evt = _shelfRowAnimData.stretch.events[0];
evt.functionName = functionName;
evt.intParameter = (int)actionType;
return new AnimationEvent[] { evt };
}
private void SetUp(Transform station, ContainerInfo containerInfo, So_ShelfConfig config)
{
_station = station;
_currentContainerInfo = containerInfo;
_shelfconfig = config;
}
private void ResetRuntimeParam()
{
_isPlayingAnim = false;
}
private void Reset()
{
_isRunning = false;
_isEnableArriveStationPositionComplete = false;
_isEnablePickUpAnimationComplete = false;
_isEnableArriveContainerPositionComplete = false;
_isEnablePutDownAnimationComplete = false;
_shelfconfig = null;
_shelfRowAnimData = null;
_station = null;
_currentContainerInfo = null;
}
#endregion
#region
/// <summary>
/// 装货
/// </summary>
public void Load(Transform station,ContainerInfo containerInfo,So_ShelfConfig config)
{
if(_isRunning) return;
_actionType = ShelfToolActionType.Load;
_station = station;
_currentContainerInfo = containerInfo;
_shelfconfig = config;
SetUp(station, containerInfo, config);
_behaviourTreeOwner.StartBehaviour();
}
public void ResetParam()
{
_isPlayingAnim = false;
}
/// <summary>
/// 第一步移动到初始位置点
/// 装货开始
/// </summary>
/// <returns></returns>
public bool InitLoadPositionComplete()
public void LoadStart()
{
if (!_isPlayingAnim)
{
_isPlayingAnim = true;
CalculateSpeedSecond(Vector3.Distance(transform.position, _station.position));
Tween.PositionX(transform, _station.position.x, _moveSeconds,Ease.Linear).OnComplete(()=>
{
Debug.Log("完成初始化");
_isInitLoadPositionComplete = true;
ResetParam();
});
Tween.PositionY(_caroparent, _station.position.y+0.14f, _moveSeconds, Ease.Linear);
}
return _isInitLoadPositionComplete;
GameEvent.AddListener(EventSetting.PlayStretchPickUpComplete,PlayLoadStretchPickUpComplete);
GameEvent.AddListener(EventSetting.PlayStretchPutDownComplete,PlayLoadStretchPutDownComplete);
GameEvent.AddListener(EventSetting.PlayShrinkPickUpComplete,PlayShrinkPickUpComplete);
GameEvent.AddListener(EventSetting.PlayShrinkPutDownComplete,PlayShrinkPutDownComplete);
_initPosition = transform.position;
Tween.StopAll(transform);
}
/// <summary>
/// 第二部开启装货动画
/// 结束装货
/// </summary>
/// <returns></returns>
public bool EnableLoadStartAnimation()
public void LoadEnd()
{
if (!_isPlayingAnim)
{
GameEvent.AddListener(EventSetting.PlayStretchPickUpComplete,PlayLoadStretchPickUpComplete);
GameEvent.AddListener(EventSetting.PlayShrinkComplete,PlayLoadShrinkComplete);
Debug.Log("开始播放伸动画" + DataUtility.GetRow(_station.name));
_isPlayingAnim = true;
_shelfRowAnimData = _shelfconfig.GetAnimaData(DataUtility.GetRow(_station.name));
_shelfRowAnimData.stretch.events = GetAnimationEvent(ToolActionType.PickUp);
_animancer.Play(_shelfRowAnimData.stretch);
}
return _isEnableLoadStartAnimationComplete;
GameEvent.RemoveListener(EventSetting.PlayStretchPickUpComplete,PlayLoadStretchPickUpComplete);
GameEvent.RemoveListener(EventSetting.PlayStretchPutDownComplete,PlayLoadStretchPickUpComplete);
GameEvent.RemoveListener(EventSetting.PlayShrinkPickUpComplete,PlayShrinkPickUpComplete);
GameEvent.RemoveListener(EventSetting.PlayShrinkPutDownComplete,PlayShrinkPutDownComplete);
Reset();
Debug.Log("结束装货");
}
/// <summary>
/// 第三步定位位置
/// </summary>
/// <returns></returns>
public bool EnableStartLoadToShelfPosition()
{
if (!_isPlayingAnim)
{
_isPlayingAnim = true;
CalculateSpeedSecond(Vector3.Distance(transform.position,_currentContainerInfo.mapContainer.transform.position));
Tween.PositionX(transform, _currentContainerInfo.mapContainer.transform.position.x, _moveSeconds,Ease.Linear).OnComplete(()=>
{
Debug.Log("到达货物放置位置");
_isEnableStartLoadToShelfPosition = true;
ResetParam();
});
Tween.PositionY(_caroparent, _currentContainerInfo.mapContainer.transform.position.y, _moveSeconds, Ease.Linear);
}
return _isEnableStartLoadToShelfPosition;
}
private AnimationEvent[] GetAnimationEvent(ToolActionType actionType)
{
AnimationEvent evt = _shelfRowAnimData.stretch.events[0];
evt.functionName = "PlayStretchComplete";
evt.intParameter = (int)actionType;
return new AnimationEvent[] { evt };
}
#region
public void PlayLoadStretchPickUpComplete(object data)
{
Debug.Log("伸动画完成");
_currentContainerInfo.container.SetParent(_containerPlaceToolParent);
Tween.LocalPosition(_currentContainerInfo.container.transform, Vector3.zero, 0.1f).OnComplete(() =>
{
ResetParam();
});
Tween.PositionY(_caroparent, _caroparent.transform.position.y+_upOffest, 1f).OnComplete(() =>
{
_animancer.Play(_shelfRowAnimData.shrink);
});
//
}
public void PlayLoadShrinkComplete(object data)
{
_isEnableLoadStartAnimationComplete = true;
}
#endregion
#endregion
@ -193,14 +158,189 @@ namespace GameLogic
/// <summary>
/// 取货
/// </summary>
public void UnLoad()
public void UnLoad(Transform station,ContainerInfo containerInfo,So_ShelfConfig config)
{
if(_isRunning) return;
_actionType = ShelfToolActionType.UnLoad;
SetUp(station, containerInfo, config);
_behaviourTreeOwner.StartBehaviour();
}
/// <summary>
/// 1: 取货开始
/// </summary>
public void UnLoadStart()
{
GameEvent.AddListener(EventSetting.PlayStretchPickUpComplete,PlayUnLoadStretchPickUpComplete);
GameEvent.AddListener(EventSetting.PlayStretchPutDownComplete, PlayUnLoadStretchPutDownComplete);
GameEvent.AddListener(EventSetting.PlayShrinkPickUpComplete,PlayShrinkPickUpComplete);
GameEvent.AddListener(EventSetting.PlayShrinkPutDownComplete,PlayShrinkPutDownComplete);
_initPosition = transform.position;
Tween.StopAll(transform);
}
/// <summary>
/// 6取货结束
/// </summary>
public void UnLoadEnd()
{
GameEvent.RemoveListener(EventSetting.PlayStretchPickUpComplete,PlayUnLoadStretchPickUpComplete);
GameEvent.RemoveListener(EventSetting.PlayStretchPutDownComplete, PlayUnLoadStretchPutDownComplete);
GameEvent.RemoveListener(EventSetting.PlayShrinkPickUpComplete,PlayShrinkPickUpComplete);
GameEvent.RemoveListener(EventSetting.PlayShrinkPutDownComplete,PlayShrinkPutDownComplete);
Reset();
Debug.Log("结束卸货");
}
#endregion
#region
private void PlayLoadStretchPickUpComplete(object data)
{
Debug.Log("伸动画完成");
_currentContainerInfo.container.SetParent(_containerPlaceToolParent);
Tween.LocalPosition(_currentContainerInfo.container.transform, Vector3.zero, 0.1f);
Tween.PositionY(_caroparent, _caroparent.transform.position.y+_loadPickUpOffest, 1f).OnComplete(() =>
{
_shelfRowAnimData.shrink.events = GetAnimationEvent("PlayShrinkComplete",ToolActionType.PickUp);
_animancer.Play(_shelfRowAnimData.shrink);
});
}
private void PlayLoadStretchPutDownComplete(object data)
{
Debug.Log("开始放置动画");
//Tween.LocalPosition(_currentContainerInfo.container.transform, Vector3.zero, 0.1f);
Tween.PositionY(_caroparent, _caroparent.transform.position.y - _loadPutDownOffest + 0.08f, 1f).OnComplete(() =>
{
_currentContainerInfo.container.gameObject.SetParent(_currentContainerInfo.mapContainer.transform);
_shelfRowAnimData.shrink.events = GetAnimationEvent("PlayShrinkComplete",ToolActionType.PutDown);
_animancer.Play(_shelfRowAnimData.shrink);
});
}
private void PlayUnLoadStretchPickUpComplete(object data)
{
Debug.Log("伸动画完成");
_currentContainerInfo.container.SetParent(_containerPlaceToolParent);
Tween.LocalPosition(_currentContainerInfo.container.transform, Vector3.zero, 0.1f);
Tween.PositionY(_caroparent, _caroparent.transform.position.y+_loadPickUpOffest, 1f).OnComplete(() =>
{
_shelfRowAnimData.shrink.events = GetAnimationEvent("PlayShrinkComplete",ToolActionType.PickUp);
_animancer.Play(_shelfRowAnimData.shrink);
});
}
private void PlayUnLoadStretchPutDownComplete(object data)
{
Debug.Log("开始放置动画");
//Tween.LocalPosition(_currentContainerInfo.container.transform, Vector3.zero, 0.1f);
Tween.PositionY(_caroparent, _caroparent.transform.position.y - _loadPutDownOffest + 0.08f, 1f).OnComplete(() =>
{
_currentContainerInfo.container.gameObject.SetParent(_currentContainerInfo.mapContainer.transform);
_shelfRowAnimData.shrink.events = GetAnimationEvent("PlayShrinkComplete",ToolActionType.PutDown);
_animancer.Play(_shelfRowAnimData.shrink);
});
}
#endregion
#region
public void PlayShrinkPickUpComplete(object data)
{
_isEnablePickUpAnimationComplete = true;
ResetRuntimeParam();
}
public void PlayShrinkPutDownComplete(object data)
{
_isEnablePutDownAnimationComplete= true;
ResetRuntimeParam();
}
#endregion
#region
/// <summary>
/// 步骤: 移动到站台位置
/// </summary>
/// <returns></returns>
public bool EnableArriveStationPositionComplete(float offest)
{
_isRunning = true;
if (_isEnableArriveStationPositionComplete) return true;
if (!_isPlayingAnim)
{
_isPlayingAnim = true;
CalculateSpeedSecond(Vector3.Distance(transform.position, _station.position));
Tween.PositionX(transform, _station.position.x, _moveSeconds,Ease.Linear).OnComplete(()=>
{
Debug.Log("到达站点位置");
_isEnableArriveStationPositionComplete = true;
ResetRuntimeParam();
});
Tween.PositionY(_caroparent, _station.position.y + offest, _moveSeconds, Ease.Linear);
}
return _isEnableArriveStationPositionComplete;
}
/// <summary>
/// 步骤: 开启装货动画
/// </summary>
/// <returns></returns>
public bool EnableLoadPickUpAnimation()
{
if (_isEnablePickUpAnimationComplete) return true;
if (!_isPlayingAnim)
{
Debug.Log("开始装货");
_isPlayingAnim = true;
_shelfRowAnimData = _shelfconfig.GetAnimaData(DataUtility.GetRow(_station.name));
_shelfRowAnimData.stretch.events = GetAnimationEvent("PlayStretchComplete",ToolActionType.PickUp);
_animancer.Play(_shelfRowAnimData.stretch);
}
return _isEnablePickUpAnimationComplete;
}
/// <summary>
/// 步骤:移动到容器位置
/// </summary>
/// <returns></returns>
public bool EnableArriveContainerPosition(float offest)
{
if (_isEnableArriveContainerPositionComplete) return true;
if (!_isPlayingAnim)
{
_isPlayingAnim = true;
CalculateSpeedSecond(Vector3.Distance(transform.position,_currentContainerInfo.mapContainer.transform.position));
Debug.Log($"移动时间{_moveSeconds}");
Tween.PositionX(transform, _currentContainerInfo.mapContainer.transform.position.x, _moveSeconds,Ease.Linear).OnComplete(()=>
{
Debug.Log("到达货物放置位置");
_isEnableArriveContainerPositionComplete = true;
ResetRuntimeParam();
});
Tween.PositionY(_caroparent, _currentContainerInfo.mapContainer.transform.position.y + offest, _moveSeconds, Ease.Linear);
}
return _isEnableArriveContainerPositionComplete;
}
/// <summary>
/// 步骤:启动放货动画
/// </summary>
/// <param name="actionType"></param>
/// <returns></returns>
public bool EnableLoadPutDownAnimation()
{
if (_isEnablePutDownAnimationComplete) return true;
if (!_isPlayingAnim)
{
_isPlayingAnim = true;
_shelfRowAnimData.stretch.events = GetAnimationEvent("PlayStretchComplete",ToolActionType.PutDown);
_animancer.Play(_shelfRowAnimData.stretch);
}
return _isEnablePutDownAnimationComplete;
}
#endregion
}
}

View File

@ -31,10 +31,32 @@ namespace GameLogic
}
}
public void PlayShrinkComplete()
public void PlayShrinkComplete(int data)
{
GameEvent.Send(EventSetting.PlayShrinkComplete);
if (Enum.IsDefined(typeof(ToolActionType), data))
{
ToolActionType action = (ToolActionType)data;
Debug.Log($"Received ToolActionType: {action}");
switch (action)
{
case ToolActionType.PickUp:
GameEvent.Send(EventSetting.PlayShrinkPickUpComplete);
break;
case ToolActionType.PutDown:
GameEvent.Send(EventSetting.PlayShrinkPutDownComplete);
break;
default:
Debug.LogWarning($"Unhandled ToolActionType: {action}");
break;
}
}
else
{
Debug.LogWarning($"Invalid ToolActionType value: {data}");
}
Debug.Log("Ëõ¶¯»­Íê³É");
}
}

View File

@ -0,0 +1,55 @@
using System;
using EasyInject.Attributes;
using GameLogic;
using Newtonsoft.Json;
using NUnit.Framework;
using Sirenix.OdinInspector;
using UnityEngine;
[GameObjectBean(ENameType.GameObjectName)]
public class ShelfNetListenerComponent : MonoBehaviour,IWcsSocketDataHandle
{
public Transform Transform { get; }
public DeviceData DeviceData { get; }
public T DynamicData<T>()
{
throw new System.NotImplementedException();
}
[ShowInInspector]public string DeviceCode => _deviceCode;
[ShowInInspector]public string DeviceType => _deviceType;
private string _deviceCode ;
private string _deviceType;
public event IDevice.DataChangeEvent DataChange;
public event IDevice.DataChangeEvent ErrorMessage;
[ShowInInspector]public ShelfActor _shelfActor;
private void Start()
{
_shelfActor = GetComponent<ShelfActor>();
_deviceCode = _shelfActor._shelfConfig.deviceCode;
_deviceType = _shelfActor._shelfConfig.deviceType;
}
public void DataHandle(object data, object other = null)
{
Debug.Log("DataHandle");
// if (string.IsNullOrEmpty(_deviceCode) || _deviceCode.Length <=0) return;
// //if (! (data is StackerData stackerData)) return;
// //½ÓÊÕÊý¾Ý
// var stackerData = JsonConvert.DeserializeObject<StackerData>(JsonConvert.SerializeObject(data));
// //frontHasGoodsDesc = stackerData.frontForkHasGoods == true ? "ǰ²æÓлõ" : "ÎÞ»õ";
// var deviceData = JsonConvert.DeserializeObject<DeviceData>(JsonConvert.SerializeObject(other));
// Debug.Log(StackerDeviceDataUtility.GetPositionInfo(stackerData));
// if (stackerData.frontForkHasGoods);
// {
//
// }
}
}

View File

@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 20e0d00e57698f84887368e168629083

View File

@ -1,4 +1,5 @@
using UnityEngine;
using PrimeTween;
using UnityEngine;
namespace GameLogic
{
@ -29,5 +30,10 @@ namespace GameLogic
{
self.transform.SetParent(parent);
}
public static void SetParentLocalPositionZero(this GameObject self, Transform parent)
{
self.transform.SetParent(parent);
Tween.LocalPosition(self.transform, Vector3.zero, 0.5f);
}
}
}

View File

@ -4,6 +4,9 @@
{
public static readonly string PlayStretchPickUpComplete = "PlayStretchPickUpComplete";
public static readonly string PlayStretchPutDownComplete = "PlayStretchPutDownComplete";
public static readonly string PlayShrinkComplete = "PlayShrinkComplete";
public static readonly string PlayShrinkPickUpComplete = "PlayShrinkPickUpComplete";
public static readonly string PlayShrinkPutDownComplete = "PlayShrinkPutDownComplete";
}
}

View File

@ -21,6 +21,7 @@ namespace GameLogic
var array = data.Split('-');
return int.Parse(array[2]);
}
}
}

View File

@ -9,6 +9,10 @@ namespace GameLogic
[CreateAssetMenu(fileName = "shelfConfig_", menuName = "数字孪生/ShelfConfig")]
public class So_ShelfConfig : SerializedScriptableObject
{
[LabelText(""), ShowInInspector] public string deviceCode;
[LabelText(""), ShowInInspector] public string deviceType = "STACKER";
[LabelText("货物所属工具组"),ShowInInspector] public List<int> groups = new List<int>();
[LabelText("伸缩动画"),ShowInInspector]public Dictionary<int,ShelfRowAnimData> shelfAnimDatas = new Dictionary<int, ShelfRowAnimData>();

View File

@ -0,0 +1,20 @@
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}";
}
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 867844248f7945388f0f41f9c0543888
timeCreated: 1746773217

View File

@ -4,20 +4,49 @@ using System;
[System.Serializable]
public class StackerData
{
/// <summary>
/// 货物条码号
/// </summary>
public string frontContainerCode;
public string frontInstructionCode;
// /// <summary>
// /// 货物条码号
// /// </summary>
public string frontInstructionCode;
//public string frontFrom;
//public bool? frontStatus;
/// <summary>
/// 货物状态描述
/// </summary>
public string frontStatusDescription;
//public string backContainerCode;
//public string backInstructionCode;
//public string backTo;
//public string backStatusDescription;
public int roadway;
/// <summary>
/// 货物的排
/// </summary>
public int frontRow;
public int frontColumn;
/// <summary>
/// 货物的层
/// </summary>
public int frontLayer;
/// <summary>
/// 货物的列
/// </summary>
public int special1;
/// <summary>
/// 动作信号
/// </summary>
public StackerForkActionEnum frontForkAction;
public string frontForkActionDescription;
public StackerForkCargoEnum frontForkCargo;
@ -28,6 +57,10 @@ public class StackerData
//public string backForkActionDescription;
//public string taskType;
//public string taskTypeDescription;
/// <summary>
/// 有货信号
/// </summary>
public Boolean frontForkHasGoods;
//public bool? backForkHasGoods;
public string strategyCode;
@ -35,8 +68,21 @@ public class StackerData
//public string stageTrackLength;
//public string realTrackLength;
//public string moveDirection;
/// <summary>
/// 存放容器地址排
/// </summary>
public int toRow;
/// <summary>
/// 货物存放容器地址列
/// </summary>
public int toColumn;
/// <summary>
/// 货物存放容器地址层
/// </summary>
public int toLayer;
public int toCommand;
public string toCommandDescription;

View File

@ -32254,7 +32254,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: -0.000058218837}
m_AnchoredPosition: {x: 0, y: -0.00013542175}
m_SizeDelta: {x: 0, y: 300}
m_Pivot: {x: 0, y: 1}
--- !u!114 &478527198
@ -107584,6 +107584,39 @@ PrefabInstance:
propertyPath: m_LocalPosition.z
value: 18.1555
objectReference: {fileID: 0}
- target: {fileID: 674022236643372559, guid: 7827ccff2c5319541bbaf34e30e83074, type: 3}
propertyPath: _serializedBlackboard
value: '{"_variables":{"shelfToolActionType":{"_propertyPath":"GameLogic.ShelfMachineToolActor._actionType","_name":"shelfToolActionType","_id":"046106d6-ba37-46e3-8cc2-cbaac14b6e2b","$type":"NodeCanvas.Framework.Variable`1[[System.Enum,
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"},"_loadPickUpOffest":{"_propertyPath":"GameLogic.ShelfMachineToolActor._loadPickUpOffest","_name":"_loadPickUpOffest","_id":"97896196-eb4a-41b5-aad8-71e9be09393f","$type":"NodeCanvas.Framework.Variable`1[[System.Single,
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"},"_loadPutDownOffest":{"_propertyPath":"GameLogic.ShelfMachineToolActor._loadPutDownOffest","_name":"_loadPutDownOffest","_id":"2bac7793-b579-4ca3-9d5f-24570d649411","$type":"NodeCanvas.Framework.Variable`1[[System.Single,
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"},"_UnloadPickUpOffest":{"_propertyPath":"GameLogic.ShelfMachineToolActor._UnloadPickUpOffest","_name":"_UnloadPickUpOffest","_id":"6bda5aa3-4a01-408a-8398-fb874e6b6a55","$type":"NodeCanvas.Framework.Variable`1[[System.Single,
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"},"_UnloadPutDownOffest":{"_propertyPath":"GameLogic.ShelfMachineToolActor._UnloadPutDownOffest","_name":"_UnloadPutDownOffest","_id":"73b620e7-05e7-47b4-83dc-e00c8c4c29d5","$type":"NodeCanvas.Framework.Variable`1[[System.Single,
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"}}}'
objectReference: {fileID: 0}
- target: {fileID: 674022236643372559, guid: 7827ccff2c5319541bbaf34e30e83074, type: 3}
propertyPath: _serializedVariables.Array.size
value: 5
objectReference: {fileID: 0}
- target: {fileID: 674022236643372559, guid: 7827ccff2c5319541bbaf34e30e83074, type: 3}
propertyPath: _serializedVariables.Array.data[1]._json
value: '{"_propertyPath":"GameLogic.ShelfMachineToolActor._loadPickUpOffest","_name":"_loadPickUpOffest","_id":"97896196-eb4a-41b5-aad8-71e9be09393f","$type":"NodeCanvas.Framework.Variable`1[[System.Single,
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"}'
objectReference: {fileID: 0}
- target: {fileID: 674022236643372559, guid: 7827ccff2c5319541bbaf34e30e83074, type: 3}
propertyPath: _serializedVariables.Array.data[2]._json
value: '{"_propertyPath":"GameLogic.ShelfMachineToolActor._loadPutDownOffest","_name":"_loadPutDownOffest","_id":"2bac7793-b579-4ca3-9d5f-24570d649411","$type":"NodeCanvas.Framework.Variable`1[[System.Single,
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"}'
objectReference: {fileID: 0}
- target: {fileID: 674022236643372559, guid: 7827ccff2c5319541bbaf34e30e83074, type: 3}
propertyPath: _serializedVariables.Array.data[3]._json
value: '{"_propertyPath":"GameLogic.ShelfMachineToolActor._UnloadPickUpOffest","_name":"_UnloadPickUpOffest","_id":"6bda5aa3-4a01-408a-8398-fb874e6b6a55","$type":"NodeCanvas.Framework.Variable`1[[System.Single,
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"}'
objectReference: {fileID: 0}
- target: {fileID: 674022236643372559, guid: 7827ccff2c5319541bbaf34e30e83074, type: 3}
propertyPath: _serializedVariables.Array.data[4]._json
value: '{"_propertyPath":"GameLogic.ShelfMachineToolActor._UnloadPutDownOffest","_name":"_UnloadPutDownOffest","_id":"73b620e7-05e7-47b4-83dc-e00c8c4c29d5","$type":"NodeCanvas.Framework.Variable`1[[System.Single,
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"}'
objectReference: {fileID: 0}
- target: {fileID: 690437541279941010, guid: 7827ccff2c5319541bbaf34e30e83074, type: 3}
propertyPath: m_Name
value: 03-15-02

View File

@ -23,7 +23,7 @@ MonoBehaviour:
m_MinSize: {x: 500, y: 100}
m_MaxSize: {x: 40480, y: 16192}
vertical: 1
controlID: 47
controlID: 159
draggingID: 0
--- !u!114 &2
MonoBehaviour:
@ -33,23 +33,23 @@ MonoBehaviour:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 12015, guid: 0000000000000000e000000000000000, type: 0}
m_EditorHideFlags: 1
m_Script: {fileID: 12003, guid: 0000000000000000e000000000000000, type: 0}
m_Name:
m_EditorClassIdentifier:
m_MinSize: {x: 100, y: 100}
m_MaxSize: {x: 4000, y: 4000}
m_TitleContent:
m_Text: Game
m_Image: {fileID: -6423792434712278376, guid: 0000000000000000d000000000000000, type: 0}
m_Text: Console
m_Image: {fileID: -4327648978806127646, guid: 0000000000000000d000000000000000, type: 0}
m_Tooltip:
m_TextWithWhitespace: "Game\u200B"
m_TextWithWhitespace: "Console\u200B"
m_Pos:
serializedVersion: 2
x: 718
y: 79
width: 379
height: 691
x: 697
y: 620
width: 643
height: 374
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@ -61,71 +61,6 @@ MonoBehaviour:
m_SaveData: []
m_ContainerData: []
m_OverlaysVisible: 1
m_SerializedViewNames: []
m_SerializedViewValues: []
m_PlayModeViewName: GameView
m_ShowGizmos: 0
m_TargetDisplay: 0
m_ClearColor: {r: 0, g: 0, b: 0, a: 0}
m_TargetSize: {x: 3840, y: 2160}
m_TextureFilterMode: 0
m_TextureHideFlags: 61
m_RenderIMGUI: 1
m_EnterPlayModeBehavior: 0
m_UseMipMap: 0
m_VSyncEnabled: 0
m_Gizmos: 0
m_Stats: 0
m_SelectedSizes: 06000000000000000000000000000000000000000000000000000000000000000000000000000000
m_ZoomArea:
m_HRangeLocked: 0
m_VRangeLocked: 0
hZoomLockedByDefault: 0
vZoomLockedByDefault: 0
m_HBaseRangeMin: -1920
m_HBaseRangeMax: 1920
m_VBaseRangeMin: -1080
m_VBaseRangeMax: 1080
m_HAllowExceedBaseRangeMin: 1
m_HAllowExceedBaseRangeMax: 1
m_VAllowExceedBaseRangeMin: 1
m_VAllowExceedBaseRangeMax: 1
m_ScaleWithWindow: 0
m_HSlider: 0
m_VSlider: 0
m_IgnoreScrollWheelUntilClicked: 0
m_EnableMouseInput: 0
m_EnableSliderZoomHorizontal: 0
m_EnableSliderZoomVertical: 0
m_UniformScale: 1
m_UpDirection: 1
m_DrawArea:
serializedVersion: 2
x: 0
y: 21
width: 379
height: 670
m_Scale: {x: 0.098697916, y: 0.098697916}
m_Translation: {x: 189.5, y: 335}
m_MarginLeft: 0
m_MarginRight: 0
m_MarginTop: 0
m_MarginBottom: 0
m_LastShownAreaInsideMargins:
serializedVersion: 2
x: -1920
y: -3394.1953
width: 3840
height: 6788.3906
m_MinimalGUI: 1
m_defaultScale: 0.098697916
m_LastWindowPixelSize: {x: 379, y: 691}
m_ClearInEditMode: 1
m_NoCameraWarning: 1
m_LowResolutionForAspectRatios: 01000000000000000000
m_XRRenderMode: 0
m_RenderTexture: {fileID: 0}
m_showToolbar: 1
--- !u!114 &3
MonoBehaviour:
m_ObjectHideFlags: 52
@ -150,7 +85,7 @@ MonoBehaviour:
m_MinSize: {x: 500, y: 100}
m_MaxSize: {x: 40480, y: 16192}
vertical: 0
controlID: 48
controlID: 160
draggingID: 0
--- !u!114 &4
MonoBehaviour:
@ -166,17 +101,17 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Children:
- {fileID: 5}
- {fileID: 13}
- {fileID: 14}
m_Position:
serializedVersion: 2
x: 0
y: 0
width: 1252
width: 1342
height: 941
m_MinSize: {x: 400, y: 100}
m_MaxSize: {x: 32384, y: 16192}
vertical: 1
controlID: 49
controlID: 161
draggingID: 0
--- !u!114 &5
MonoBehaviour:
@ -194,17 +129,17 @@ MonoBehaviour:
- {fileID: 6}
- {fileID: 8}
- {fileID: 10}
- {fileID: 11}
- {fileID: 12}
m_Position:
serializedVersion: 2
x: 0
y: 0
width: 1252
height: 717
width: 1342
height: 541
m_MinSize: {x: 400, y: 50}
m_MaxSize: {x: 32384, y: 8096}
vertical: 0
controlID: 50
controlID: 59
draggingID: 0
--- !u!114 &6
MonoBehaviour:
@ -223,10 +158,10 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 321
height: 717
m_MinSize: {x: 200, y: 200}
m_MaxSize: {x: 4000, y: 4000}
width: 341
height: 541
m_MinSize: {x: 201, y: 226}
m_MaxSize: {x: 4001, y: 4026}
m_ActualView: {fileID: 7}
m_Panes:
- {fileID: 7}
@ -255,8 +190,8 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 79
width: 320
height: 691
width: 340
height: 515
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@ -270,10 +205,10 @@ MonoBehaviour:
m_OverlaysVisible: 1
m_SceneHierarchy:
m_TreeViewState:
scrollPos: {x: 0, y: 1730}
m_SelectedIDs: f4087bfe
scrollPos: {x: 0, y: 780}
m_SelectedIDs: 7caa0000
m_LastClickedID: 0
m_ExpandedIDs: e6b47ffef4b47ffe34b1a4fe42b1a4fefeb53bff0cb63bff604f3cffa84a64ffb64a64ff96da6bff8e5fa3ff2c91a3ff4091a3ff5091a3ff5691a3ff6c91a3ff846dc2ff926dc2ff5ab2ddff6eb2ddff7eb2ddff84b2ddff64b6e5ff62cdebff3200ffffd209ffffe609fffff609fffffc09ffffd041ffffcc42fffffe48ffff0a4bffff06fbffffaaa6000068ab0000b2c00000e0c10000bac4000010c90000c8cc0000aecf000004d500009cd60000d6da0000
m_ExpandedIDs: 5443daff6243daff0293feff1693feff2893feff4893feff54cbfeff58cbfeff4cccfeff06fbffffdec60000e4ca00003acf0000c4dc0000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@ -313,12 +248,12 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 321
x: 341
y: 0
width: 397
height: 717
m_MinSize: {x: 100, y: 100}
m_MaxSize: {x: 4000, y: 4000}
width: 561
height: 541
m_MinSize: {x: 102, y: 126}
m_MaxSize: {x: 4002, y: 4026}
m_ActualView: {fileID: 9}
m_Panes:
- {fileID: 9}
@ -345,10 +280,10 @@ MonoBehaviour:
m_TextWithWhitespace: "Scene\u200B"
m_Pos:
serializedVersion: 2
x: 321
x: 341
y: 79
width: 395
height: 691
width: 559
height: 515
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@ -833,9 +768,9 @@ MonoBehaviour:
m_AudioPlay: 0
m_DebugDrawModesUseInteractiveLightBakingData: 0
m_Position:
m_Target: {x: 31.27479, y: 10.917541, z: -11.026852}
m_Target: {x: 28.024916, y: 5.7644134, z: -9.9908285}
speed: 2
m_Value: {x: 31.27479, y: 10.917541, z: -11.026852}
m_Value: {x: 28.024916, y: 5.7644134, z: -9.9908285}
m_RenderMode: 0
m_CameraMode:
drawMode: 0
@ -881,13 +816,13 @@ MonoBehaviour:
m_GridAxis: 1
m_gridOpacity: 0.5
m_Rotation:
m_Target: {x: 0.20840421, y: -0.5749407, z: 0.15515602, w: 0.77603394}
m_Target: {x: 0.03983221, y: -0.58761424, z: 0.029870179, w: 0.8078217}
speed: 2
m_Value: {x: 0.20837389, y: -0.574857, z: 0.15513344, w: 0.775921}
m_Value: {x: 0.041036524, y: -0.5874674, z: 0.030746657, w: 0.80762166}
m_Size:
m_Target: 0.29763865
m_Target: 1.1572351
speed: 2
m_Value: 0.29763865
m_Value: 1.1572351
m_Ortho:
m_Target: 0
speed: 2
@ -936,18 +871,119 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 718
x: 902
y: 0
width: 381
height: 717
width: 330
height: 541
m_MinSize: {x: 102, y: 126}
m_MaxSize: {x: 4002, y: 4026}
m_ActualView: {fileID: 2}
m_ActualView: {fileID: 11}
m_Panes:
- {fileID: 2}
- {fileID: 11}
m_Selected: 0
m_LastSelected: 0
--- !u!114 &11
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 12015, guid: 0000000000000000e000000000000000, type: 0}
m_Name:
m_EditorClassIdentifier:
m_MinSize: {x: 100, y: 100}
m_MaxSize: {x: 4000, y: 4000}
m_TitleContent:
m_Text: Game
m_Image: {fileID: -6423792434712278376, guid: 0000000000000000d000000000000000, type: 0}
m_Tooltip:
m_TextWithWhitespace: "Game\u200B"
m_Pos:
serializedVersion: 2
x: 902
y: 79
width: 328
height: 515
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
m_SupportedDataModes:
isAutomatic: 1
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
m_LastAppliedPresetName: Default
m_SaveData: []
m_ContainerData: []
m_OverlaysVisible: 1
m_SerializedViewNames: []
m_SerializedViewValues: []
m_PlayModeViewName: GameView
m_ShowGizmos: 0
m_TargetDisplay: 0
m_ClearColor: {r: 0, g: 0, b: 0, a: 0}
m_TargetSize: {x: 3840, y: 2160}
m_TextureFilterMode: 0
m_TextureHideFlags: 61
m_RenderIMGUI: 1
m_EnterPlayModeBehavior: 0
m_UseMipMap: 0
m_VSyncEnabled: 0
m_Gizmos: 0
m_Stats: 0
m_SelectedSizes: 06000000000000000000000000000000000000000000000000000000000000000000000000000000
m_ZoomArea:
m_HRangeLocked: 0
m_VRangeLocked: 0
hZoomLockedByDefault: 0
vZoomLockedByDefault: 0
m_HBaseRangeMin: -1920
m_HBaseRangeMax: 1920
m_VBaseRangeMin: -1080
m_VBaseRangeMax: 1080
m_HAllowExceedBaseRangeMin: 1
m_HAllowExceedBaseRangeMax: 1
m_VAllowExceedBaseRangeMin: 1
m_VAllowExceedBaseRangeMax: 1
m_ScaleWithWindow: 0
m_HSlider: 0
m_VSlider: 0
m_IgnoreScrollWheelUntilClicked: 0
m_EnableMouseInput: 1
m_EnableSliderZoomHorizontal: 0
m_EnableSliderZoomVertical: 0
m_UniformScale: 1
m_UpDirection: 1
m_DrawArea:
serializedVersion: 2
x: 0
y: 21
width: 328
height: 494
m_Scale: {x: 0.08541667, y: 0.08541667}
m_Translation: {x: 164, y: 247}
m_MarginLeft: 0
m_MarginRight: 0
m_MarginTop: 0
m_MarginBottom: 0
m_LastShownAreaInsideMargins:
serializedVersion: 2
x: -1920
y: -2891.7073
width: 3840
height: 5783.4146
m_MinimalGUI: 1
m_defaultScale: 0.08541667
m_LastWindowPixelSize: {x: 328, y: 515}
m_ClearInEditMode: 1
m_NoCameraWarning: 1
m_LowResolutionForAspectRatios: 01000000000000000000
m_XRRenderMode: 0
m_RenderTexture: {fileID: 0}
m_showToolbar: 1
--- !u!114 &12
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
@ -962,18 +998,18 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 1099
x: 1232
y: 0
width: 153
height: 717
width: 110
height: 541
m_MinSize: {x: 102, y: 126}
m_MaxSize: {x: 4002, y: 4026}
m_ActualView: {fileID: 12}
m_ActualView: {fileID: 13}
m_Panes:
- {fileID: 12}
- {fileID: 13}
m_Selected: 0
m_LastSelected: 0
--- !u!114 &12
--- !u!114 &13
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
@ -994,10 +1030,10 @@ MonoBehaviour:
m_TextWithWhitespace: "Timeline\u200B"
m_Pos:
serializedVersion: 2
x: 1099
x: 1232
y: 79
width: 151
height: 691
width: 108
height: 515
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@ -1018,7 +1054,7 @@ MonoBehaviour:
m_SequencePath:
m_SelectionRoot: 0
m_SubElements: []
--- !u!114 &13
--- !u!114 &14
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
@ -1031,20 +1067,20 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Children:
- {fileID: 14}
- {fileID: 16}
- {fileID: 15}
- {fileID: 17}
m_Position:
serializedVersion: 2
x: 0
y: 717
width: 1252
height: 224
y: 541
width: 1342
height: 400
m_MinSize: {x: 200, y: 50}
m_MaxSize: {x: 16192, y: 8096}
vertical: 0
controlID: 154
controlID: 162
draggingID: 0
--- !u!114 &14
--- !u!114 &15
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
@ -1061,16 +1097,16 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 525
height: 224
width: 697
height: 400
m_MinSize: {x: 231, y: 276}
m_MaxSize: {x: 10001, y: 10026}
m_ActualView: {fileID: 15}
m_ActualView: {fileID: 16}
m_Panes:
- {fileID: 15}
- {fileID: 16}
m_Selected: 0
m_LastSelected: 0
--- !u!114 &15
--- !u!114 &16
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
@ -1092,9 +1128,9 @@ MonoBehaviour:
m_Pos:
serializedVersion: 2
x: 0
y: 796
width: 524
height: 198
y: 620
width: 696
height: 374
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@ -1133,27 +1169,27 @@ MonoBehaviour:
m_LockTracker:
m_IsLocked: 0
m_FolderTreeState:
scrollPos: {x: 0, y: 830}
m_SelectedIDs: d6a01900
m_LastClickedID: 1679574
m_ExpandedIDs: 00000000841e0100861e0100881e01008a1e01008c1e0100901e0100941e0100961e0100981e01009a1e01009c1e01009e1e0100a01e0100a21e01002e1f0100341f0100361f0100381f0100701f01003419120000ca9a3bffffff7f
scrollPos: {x: 0, y: 654}
m_SelectedIDs: 06260100
m_LastClickedID: 75270
m_ExpandedIDs: 000000000425010006250100082501000a2501000c2501000e25010010250100122501001425010016250100182501001a2501001c2501001e2501002025010022250100242501002625010028250100c425010000ca9a3bffffff7f
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name: Fonts
m_OriginalName: Fonts
m_Name:
m_OriginalName:
m_EditFieldRect:
serializedVersion: 2
x: 0
y: 0
width: 0
height: 0
m_UserData: 1185918
m_UserData: 0
m_IsWaitingForDelay: 0
m_IsRenaming: 0
m_OriginalEventType: 0
m_OriginalEventType: 11
m_IsRenamingFilename: 1
m_TrimLeadingAndTrailingWhitespace: 0
m_ClientGUIView: {fileID: 14}
m_ClientGUIView: {fileID: 15}
m_SearchString:
m_CreateAssetUtility:
m_EndAction: {fileID: 0}
@ -1165,7 +1201,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: 00000000841e0100861e0100881e01008a1e01008c1e01008e1e0100901e0100921e0100941e0100961e0100981e01009a1e01009c1e01009e1e0100a01e0100a21e0100
m_ExpandedIDs: 000000000425010006250100082501000a2501000c2501000e25010010250100122501001425010016250100182501001a2501001c2501001e2501002025010022250100242501002625010028250100
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@ -1191,8 +1227,8 @@ MonoBehaviour:
m_Icon: {fileID: 0}
m_ResourceFile:
m_ListAreaState:
m_SelectedInstanceIDs: f4087bfe
m_LastClickedInstanceID: -25491212
m_SelectedInstanceIDs: 7caa0000
m_LastClickedInstanceID: 43644
m_HadKeyboardFocusLastEvent: 1
m_ExpandedInstanceIDs: c6230000901d0600d2510500a2a305008ea0050010cb010044a200007e69000004a5780076d9790094da7900e0590400383d04002871000000000000
m_RenameOverlay:
@ -1211,7 +1247,7 @@ MonoBehaviour:
m_OriginalEventType: 11
m_IsRenamingFilename: 1
m_TrimLeadingAndTrailingWhitespace: 0
m_ClientGUIView: {fileID: 14}
m_ClientGUIView: {fileID: 15}
m_CreateAssetUtility:
m_EndAction: {fileID: 0}
m_InstanceID: 0
@ -1223,7 +1259,7 @@ MonoBehaviour:
m_GridSize: 64
m_SkipHiddenPackages: 0
m_DirectoriesAreaWidth: 287
--- !u!114 &16
--- !u!114 &17
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
@ -1238,53 +1274,17 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 525
x: 697
y: 0
width: 727
height: 224
width: 645
height: 400
m_MinSize: {x: 102, y: 126}
m_MaxSize: {x: 4002, y: 4026}
m_ActualView: {fileID: 17}
m_ActualView: {fileID: 2}
m_Panes:
- {fileID: 17}
- {fileID: 2}
m_Selected: 0
m_LastSelected: 0
--- !u!114 &17
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 1
m_Script: {fileID: 12003, guid: 0000000000000000e000000000000000, type: 0}
m_Name:
m_EditorClassIdentifier:
m_MinSize: {x: 100, y: 100}
m_MaxSize: {x: 4000, y: 4000}
m_TitleContent:
m_Text: Console
m_Image: {fileID: -4327648978806127646, guid: 0000000000000000d000000000000000, type: 0}
m_Tooltip:
m_TextWithWhitespace: "Console\u200B"
m_Pos:
serializedVersion: 2
x: 525
y: 796
width: 725
height: 198
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
m_SupportedDataModes:
isAutomatic: 1
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
m_LastAppliedPresetName: Default
m_SaveData: []
m_ContainerData: []
m_OverlaysVisible: 1
--- !u!114 &18
MonoBehaviour:
m_ObjectHideFlags: 52
@ -1300,9 +1300,9 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 1252
x: 1342
y: 0
width: 668
width: 578
height: 941
m_MinSize: {x: 276, y: 126}
m_MaxSize: {x: 4001, y: 4026}
@ -1332,9 +1332,9 @@ MonoBehaviour:
m_TextWithWhitespace: "Inspector\u200B"
m_Pos:
serializedVersion: 2
x: 1252
x: 1342
y: 79
width: 667
width: 577
height: 915
m_SerializedDataModeController:
m_DataMode: 0