Onehot功能完善,修正

OneHot功能完善,更改TaySensor探测到Tag的index表示。与之前不通用!
修正PlayMode中的scenePrefabSet未定位错误
修正Raysensor中TagToInt不包含rayTagResult中的-1
This commit is contained in:
2023-12-31 07:49:58 +09:00
parent f3c5f539ec
commit bf1d1d8d3b
9 changed files with 90 additions and 70 deletions
+3 -4
View File
@@ -1755,8 +1755,6 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 34839c2831b759d4a8347ab655b00f36, type: 3}
m_Name:
m_EditorClassIdentifier:
persistThroughScene: 0
hudObj: {fileID: 2082200184}
lockMouse: 0
damage: 50
fireRate: 0.5
@@ -1793,6 +1791,7 @@ MonoBehaviour:
movePenalty: 0.1
spinPenalty: 0.08
mousePenalty: 0.06
scenePrefabSet: {fileID: 11400000, guid: 6ebbd27eb466c4a41bd2584c1b9c2e1f, type: 2}
--- !u!4 &220347586
Transform:
m_ObjectHideFlags: 0
@@ -3303,7 +3302,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.000030517578, y: -246.2016}
m_AnchoredPosition: {x: 0.000030517578, y: -246.2022}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 0}
--- !u!114 &324069808
@@ -12790,7 +12789,7 @@ MonoBehaviour:
m_HandleRect: {fileID: 538300382}
m_Direction: 2
m_Value: 0
m_Size: 0.99989116
m_Size: 0.99999
m_NumberOfSteps: 0
m_OnValueChanged:
m_PersistentCalls: