Skip to content

Commit

Permalink
Assign custom material to UI components
Browse files Browse the repository at this point in the history
  • Loading branch information
JLChnToZ committed Apr 22, 2024
1 parent 33f91cc commit d739c99
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
9 changes: 5 additions & 4 deletions Packages/idv.jlchntoz.vvmw/Prefabs/Pickup Screen.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Material: {fileID: 2100000, guid: 605b81398af74b8439a437f68a18a85b, type: 2}
m_Color: {r: 0.38679248, g: 0.38679248, b: 0.38679248, a: 1}
m_RaycastTarget: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
Expand Down Expand Up @@ -338,7 +338,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Material: {fileID: 2100000, guid: 605b81398af74b8439a437f68a18a85b, type: 2}
m_Color: {r: 0.15280277, g: 0.16425171, b: 0.18823528, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
Expand Down Expand Up @@ -469,7 +469,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Material: {fileID: 2100000, guid: 605b81398af74b8439a437f68a18a85b, type: 2}
m_Color: {r: 0.32941177, g: 0.32941177, b: 0.32941177, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
Expand Down Expand Up @@ -786,6 +786,7 @@ MonoBehaviour:
m_Script: {fileID: -1533785930, guid: 661092b4961be7145bfbe56e1e62337b, type: 3}
m_Name:
m_EditorClassIdentifier:
AllowFocusView: 1
--- !u!65 &4002624618404446044
BoxCollider:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -877,7 +878,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Material: {fileID: 2100000, guid: 605b81398af74b8439a437f68a18a85b, type: 2}
m_Color: {r: 0.8113208, g: 0.8113208, b: 0.8113208, a: 1}
m_RaycastTarget: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
Expand Down
5 changes: 3 additions & 2 deletions Packages/idv.jlchntoz.vvmw/Prefabs/Screen With Overlay.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Material: {fileID: 2100000, guid: 605b81398af74b8439a437f68a18a85b, type: 2}
m_Color: {r: 0, g: 0, b: 0, a: 0}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
Expand Down Expand Up @@ -5819,6 +5819,7 @@ MonoBehaviour:
m_Script: {fileID: -1533785930, guid: 661092b4961be7145bfbe56e1e62337b, type: 3}
m_Name:
m_EditorClassIdentifier:
AllowFocusView: 1
--- !u!65 &7315061199474127724
BoxCollider:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -5917,7 +5918,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Material: {fileID: 2100000, guid: 605b81398af74b8439a437f68a18a85b, type: 2}
m_Color: {r: 0, g: 0, b: 0, a: 0}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,7 @@ MonoBehaviour:
m_Script: {fileID: -1533785930, guid: 661092b4961be7145bfbe56e1e62337b, type: 3}
m_Name:
m_EditorClassIdentifier:
AllowFocusView: 1
--- !u!65 &3004831601659470134
BoxCollider:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -884,7 +885,7 @@ PrefabInstance:
- target: {fileID: 1749176670469352045, guid: 09128f14656df224fab9e554c7b4099c,
type: 3}
propertyPath: m_Value
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4089793476639635851, guid: 09128f14656df224fab9e554c7b4099c,
type: 3}
Expand Down Expand Up @@ -1787,7 +1788,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Material: {fileID: 2100000, guid: 605b81398af74b8439a437f68a18a85b, type: 2}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
Expand Down

0 comments on commit d739c99

Please sign in to comment.