添加货架行为类型

This commit is contained in:
SnowShow 2025-05-07 17:17:54 +08:00
parent 857950bdbb
commit 45e4618d05
6 changed files with 354 additions and 397 deletions

View File

@ -12,7 +12,9 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 7a686a47eee2fa44cb0a34b5d86e4d5e, type: 3} m_Script: {fileID: 11500000, guid: 7a686a47eee2fa44cb0a34b5d86e4d5e, type: 3}
m_Name: ShelfMachineBehaviour m_Name: ShelfMachineBehaviour
m_EditorClassIdentifier: m_EditorClassIdentifier:
_serializedGraph: '{"type":"NodeCanvas.BehaviourTrees.BehaviourTree","nodes":[],"connections":[],"canvasGroups":[],"localBlackboard":{"_variables":{}},"derivedData":{"repeat":true,"$type":"NodeCanvas.BehaviourTrees.BehaviourTree+DerivedSerializationData"}}' _serializedGraph: '{"type":"NodeCanvas.BehaviourTrees.BehaviourTree","nodes":[{"selectionMode":1,"intCase":{},"enumCase":{"_type":"System.Enum","_name":""},"_position":{"x":564.0,"y":122.0},"$type":"NodeCanvas.BehaviourTrees.Switch"}],"connections":[],"canvasGroups":[],"localBlackboard":{"_variables":{"Enum
Case":{"_name":"Enum Case","_id":"765c30f0-31a8-432d-8a9e-1a9dbf4d0337","$type":"NodeCanvas.Framework.Variable`1[[System.Enum,
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"}}},"derivedData":{"repeat":true,"$type":"NodeCanvas.BehaviourTrees.BehaviourTree+DerivedSerializationData"}}'
_objectReferences: [] _objectReferences: []
_graphSource: _graphSource:
_version: 3.32 _version: 3.32

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 703d50361a118e34cbb9be2f134d6e42
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,9 @@
using Sirenix.OdinInspector;
using UnityEngine;
public enum ShelfActionType
{
[LabelText("ÎÞ")]None,
[LabelText("×°»õ")]Load,
[LabelText("ж»õ")]UnLoad
}

View File

@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 91bb393342c6a4d4389f93da1368fe46

View File

@ -38751,6 +38751,11 @@ Transform:
m_Children: [] m_Children: []
m_Father: {fileID: 664867040} m_Father: {fileID: 664867040}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &587545622 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 5304540892573083252, guid: 7827ccff2c5319541bbaf34e30e83074, type: 3}
m_PrefabInstance: {fileID: 1215215006}
m_PrefabAsset: {fileID: 0}
--- !u!1 &587727080 --- !u!1 &587727080
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -66700,8 +66705,8 @@ Transform:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 963194225} m_GameObject: {fileID: 963194225}
serializedVersion: 2 serializedVersion: 2
m_LocalRotation: {x: 0.06113388, y: -0.9031976, z: 0.13733405, w: 0.40204} m_LocalRotation: {x: -0.059602156, y: -0.8828924, z: 0.116679616, w: -0.45092642}
m_LocalPosition: {x: 90.59197, y: 24.513542, z: 24.777458} m_LocalPosition: {x: 21.895561, y: 26.234213, z: 22.103218}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
@ -87167,6 +87172,9 @@ PrefabInstance:
insertIndex: -1 insertIndex: -1
addedObject: {fileID: 588076630} addedObject: {fileID: 588076630}
m_AddedComponents: m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 5304540892573083252, guid: 7827ccff2c5319541bbaf34e30e83074, type: 3}
insertIndex: -1
addedObject: {fileID: 1215215010}
- targetCorrespondingSourceObject: {fileID: 5953207996287557680, guid: 7827ccff2c5319541bbaf34e30e83074, type: 3} - targetCorrespondingSourceObject: {fileID: 5953207996287557680, guid: 7827ccff2c5319541bbaf34e30e83074, type: 3}
insertIndex: -1 insertIndex: -1
addedObject: {fileID: 126551405} addedObject: {fileID: 126551405}
@ -87181,6 +87189,22 @@ Animator:
m_CorrespondingSourceObject: {fileID: 4144906616167758305, guid: 7827ccff2c5319541bbaf34e30e83074, type: 3} m_CorrespondingSourceObject: {fileID: 4144906616167758305, guid: 7827ccff2c5319541bbaf34e30e83074, type: 3}
m_PrefabInstance: {fileID: 1215215006} m_PrefabInstance: {fileID: 1215215006}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
--- !u!114 &1215215010
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 587545622}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b98a6db0b653f764eac834f85857a9dd, type: 3}
m_Name:
m_EditorClassIdentifier:
_parentBlackboard: {fileID: 0}
_serializedBlackboard: '{"_variables":{}}'
_objectReferences: []
_serializedVariables: []
--- !u!114 &1215215012 stripped --- !u!114 &1215215012 stripped
MonoBehaviour: MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 6795585866265439145, guid: 7827ccff2c5319541bbaf34e30e83074, type: 3} m_CorrespondingSourceObject: {fileID: 6795585866265439145, guid: 7827ccff2c5319541bbaf34e30e83074, type: 3}

File diff suppressed because it is too large Load Diff