Skip to content

Commit

Permalink
feat: Dialogue system text should not be raycast target
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Aug 23, 2024
1 parent 6bfdf4b commit b61fb23
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 0, b: 0, a: 1}
m_RaycastTarget: 1
m_RaycastTarget: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
Expand Down Expand Up @@ -688,7 +688,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastTarget: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
Expand Down Expand Up @@ -2906,7 +2906,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastTarget: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
Expand Down Expand Up @@ -4124,7 +4124,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!224 &764007139224113502
RectTransform:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -4231,7 +4231,6 @@ MonoBehaviour:
mSelectTextIndex: 0
mRenderSelectTextIndex: 0
mMakeHoverSelect: 1
mTransparentSprite: {fileID: 21300000, guid: e1c46e9108b163a43a4756374739521a, type: 3}
mCenterImage: {fileID: 123926847607488668}
mLeftImage: {fileID: 3259919901683074881}
mRightImage: {fileID: 6393945804426866846}
Expand Down
9 changes: 4 additions & 5 deletions Assets/JCSUnity/Resources/UI/JCS_DialogueSystem.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 0, b: 0, a: 1}
m_RaycastTarget: 1
m_RaycastTarget: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
Expand Down Expand Up @@ -1940,7 +1940,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastTarget: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
Expand Down Expand Up @@ -2338,7 +2338,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!224 &984955064616139632
RectTransform:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -2445,7 +2445,6 @@ MonoBehaviour:
mSelectTextIndex: 0
mRenderSelectTextIndex: 0
mMakeHoverSelect: 1
mTransparentSprite: {fileID: 21300000, guid: e1c46e9108b163a43a4756374739521a, type: 3}
mCenterImage: {fileID: 2786463899866065582}
mLeftImage: {fileID: 8909120425116114928}
mRightImage: {fileID: 6546777816282174048}
Expand Down Expand Up @@ -4168,7 +4167,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastTarget: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
Expand Down
10 changes: 10 additions & 0 deletions Assets/JCSUnity/Scenes/Utilities/JCS_ScriptTester.unity
Original file line number Diff line number Diff line change
Expand Up @@ -1290,6 +1290,11 @@ PrefabInstance:
propertyPath: m_Name
value: JCS_DialogueSystem (Game Pad)
objectReference: {fileID: 0}
- target: {fileID: 7657870147620464614, guid: c7ea891da8aadd741a2b75f708a50d65,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
Expand Down Expand Up @@ -1408,6 +1413,11 @@ PrefabInstance:
propertyPath: m_Name
value: JCS_DialogueSystem
objectReference: {fileID: 0}
- target: {fileID: 4431048296620540127, guid: 11e5c739135b1e34d8a1164d3c66f6f8,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
Expand Down
2 changes: 1 addition & 1 deletion Assets/PackageExporter/unityignore/JCSUnity.unityignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# unityignore file.
#
# Package Name: JCSUnity
# Version: 2.1.4
# Version: 2.4.1
# Creation Date: 2019-02-04 20:44:15
#
# Package Link: https://github.com/Pixisoft/PackageExporter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# unityignore file.
#
# Package Name: JCSUnity_ExampleProjects
# Version: 2.1.4
# Version: 2.4.1
# Creation Date: 2019-02-04 20:44:15
#
# Package Link: https://github.com/Pixisoft/PackageExporter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# unityignore file.
#
# Package Name: JCSUnity_Release
# Version: 2.1.4
# Version: 2.4.1
# Creation Date: 2019-02-04 20:44:15
#
# Package Link: https://github.com/Pixisoft/PackageExporter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# unityignore file.
#
# Package Name: JCSUnity_Trimmed
# Version: 2.2.0
# Version: 2.4.1
# Creation Date: 2021-08-16 02:14:17
#
# Package Link: https://github.com/Pixisoft/PackageExporter
Expand Down

0 comments on commit b61fb23

Please sign in to comment.