Skip to content

Commit de662d6

Browse files
authored
feat: exotic rarity (#6158)
1 parent 85ed986 commit de662d6

File tree

21 files changed

+351
-122
lines changed

21 files changed

+351
-122
lines changed

unity-renderer/Assets/DCLServices/WearablesCatalogService/NftRarity.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ public enum NftRarity
1010
Mythic,
1111
Unique,
1212
None,
13+
Exotic,
1314
}
1415
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
%YAML 1.1
2+
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!114 &11400000
4+
MonoBehaviour:
5+
m_ObjectHideFlags: 0
6+
m_CorrespondingSourceObject: {fileID: 0}
7+
m_PrefabInstance: {fileID: 0}
8+
m_PrefabAsset: {fileID: 0}
9+
m_GameObject: {fileID: 0}
10+
m_Enabled: 1
11+
m_EditorHideFlags: 0
12+
m_Script: {fileID: 11500000, guid: 4dc671f1b2624312a9138e7217d2c725, type: 3}
13+
m_Name: Exotic
14+
m_EditorClassIdentifier:
15+
backgroundColor: {r: 0.7921569, g: 1, b: 0.4509804, a: 1}
16+
rarityNameColor: {r: 0.4745098, g: 0.6, b: 0.27058825, a: 1}
17+
gradientColor: {r: 0, g: 0, b: 0, a: 0}
18+
isBase: 0

unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/HUD/AvatarEditorHUD/Data/InfoPanelSkins/Exotic.asset.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/HUD/AvatarEditorHUD/Data/ItemToggleSkinFactory.asset

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,5 @@ MonoBehaviour:
2929
skin: {fileID: 11400000, guid: 2ed4fac2cecbeb8468529aeb6448dcf3, type: 2}
3030
- rarity: base
3131
skin: {fileID: 11400000, guid: 3986c9106c9d88b4898dc92ef16dc48c, type: 2}
32+
- rarity: exotic
33+
skin: {fileID: 11400000, guid: 328446dcef0234af8a585064b39239a8, type: 2}

unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/HUD/AvatarEditorHUD/Resources/EmotesCustomization/EmoteCard.prefab

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1245,6 +1245,8 @@ MonoBehaviour:
12451245
markColor: {r: 0.4509804, g: 0.827451, b: 0.827451, a: 1}
12461246
- rarity: uncommon
12471247
markColor: {r: 1, g: 0.5137255, b: 0.38431373, a: 1}
1248+
- rarity: exotic
1249+
markColor: {r: 0.7921569, g: 1, b: 0.4509804, a: 1}
12481250
model:
12491251
id: TestId
12501252
name: Emote name

unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/HUD/AvatarEditorHUD/Resources/EmotesCustomization/EmoteSlotCard.prefab

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ RectTransform:
3232
m_Children:
3333
- {fileID: 6632935345652180066}
3434
m_Father: {fileID: 6307937999073975908}
35-
m_RootOrder: 3
3635
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
3736
m_AnchorMin: {x: 0, y: 1}
3837
m_AnchorMax: {x: 0, y: 1}
@@ -108,7 +107,6 @@ RectTransform:
108107
m_ConstrainProportionsScale: 0
109108
m_Children: []
110109
m_Father: {fileID: 8644696348179406289}
111-
m_RootOrder: 2
112110
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
113111
m_AnchorMin: {x: 0, y: 0}
114112
m_AnchorMax: {x: 1, y: 1}
@@ -244,7 +242,6 @@ RectTransform:
244242
m_ConstrainProportionsScale: 0
245243
m_Children: []
246244
m_Father: {fileID: 8644696348179406289}
247-
m_RootOrder: 1
248245
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
249246
m_AnchorMin: {x: 0, y: 0}
250247
m_AnchorMax: {x: 0, y: 1}
@@ -380,7 +377,6 @@ RectTransform:
380377
m_ConstrainProportionsScale: 0
381378
m_Children: []
382379
m_Father: {fileID: 6307937999073975908}
383-
m_RootOrder: 2
384380
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
385381
m_AnchorMin: {x: 0.5, y: 0.5}
386382
m_AnchorMax: {x: 0.5, y: 0.5}
@@ -456,7 +452,6 @@ RectTransform:
456452
m_ConstrainProportionsScale: 0
457453
m_Children: []
458454
m_Father: {fileID: 5630504725028102285}
459-
m_RootOrder: 0
460455
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
461456
m_AnchorMin: {x: 0, y: 1}
462457
m_AnchorMax: {x: 0, y: 1}
@@ -533,7 +528,6 @@ RectTransform:
533528
m_ConstrainProportionsScale: 0
534529
m_Children: []
535530
m_Father: {fileID: 6307937999073975908}
536-
m_RootOrder: 4
537531
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
538532
m_AnchorMin: {x: 0, y: 0}
539533
m_AnchorMax: {x: 1, y: 1}
@@ -630,7 +624,6 @@ RectTransform:
630624
m_ConstrainProportionsScale: 0
631625
m_Children: []
632626
m_Father: {fileID: 5989498347712335370}
633-
m_RootOrder: 1
634627
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
635628
m_AnchorMin: {x: 0, y: 0}
636629
m_AnchorMax: {x: 1, y: 0}
@@ -706,7 +699,6 @@ RectTransform:
706699
m_ConstrainProportionsScale: 0
707700
m_Children: []
708701
m_Father: {fileID: 2264468713520702337}
709-
m_RootOrder: 0
710702
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
711703
m_AnchorMin: {x: 0, y: 0}
712704
m_AnchorMax: {x: 1, y: 1}
@@ -786,7 +778,6 @@ RectTransform:
786778
- {fileID: 5630504725028102285}
787779
- {fileID: 4282460491909798165}
788780
m_Father: {fileID: 8644696348179406289}
789-
m_RootOrder: 3
790781
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
791782
m_AnchorMin: {x: 1, y: 0.5}
792783
m_AnchorMax: {x: 1, y: 0.5}
@@ -837,7 +828,6 @@ RectTransform:
837828
- {fileID: 2264468713520702337}
838829
- {fileID: 5972197344983308672}
839830
m_Father: {fileID: 0}
840-
m_RootOrder: 0
841831
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
842832
m_AnchorMin: {x: 0.5, y: 0.5}
843833
m_AnchorMax: {x: 0.5, y: 0.5}
@@ -956,6 +946,8 @@ MonoBehaviour:
956946
markColor: {r: 0.4509804, g: 0.827451, b: 0.827451, a: 1}
957947
- rarity: uncommon
958948
markColor: {r: 1, g: 0.5137255, b: 0.38431373, a: 1}
949+
- rarity: exotic
950+
markColor: {r: 0.7921569, g: 1, b: 0.4509804, a: 1}
959951
model:
960952
emoteId:
961953
emoteName: Name
@@ -999,7 +991,6 @@ RectTransform:
999991
- {fileID: 9167734917805677236}
1000992
- {fileID: 6307937999073975908}
1001993
m_Father: {fileID: 2264468713520702337}
1002-
m_RootOrder: 2
1003994
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
1004995
m_AnchorMin: {x: 0, y: 0}
1005996
m_AnchorMax: {x: 1, y: 1}
@@ -1049,7 +1040,6 @@ RectTransform:
10491040
- {fileID: 6113472091391423418}
10501041
- {fileID: 8644696348179406289}
10511042
m_Father: {fileID: 5989498347712335370}
1052-
m_RootOrder: 0
10531043
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
10541044
m_AnchorMin: {x: 0, y: 0}
10551045
m_AnchorMax: {x: 1, y: 1}
@@ -1166,7 +1156,6 @@ RectTransform:
11661156
m_ConstrainProportionsScale: 0
11671157
m_Children: []
11681158
m_Father: {fileID: 2264468713520702337}
1169-
m_RootOrder: 1
11701159
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
11711160
m_AnchorMin: {x: 0, y: 0}
11721161
m_AnchorMax: {x: 1, y: 1}
@@ -1243,7 +1232,6 @@ RectTransform:
12431232
m_ConstrainProportionsScale: 0
12441233
m_Children: []
12451234
m_Father: {fileID: 6307937999073975908}
1246-
m_RootOrder: 0
12471235
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
12481236
m_AnchorMin: {x: 0, y: 0}
12491237
m_AnchorMax: {x: 1, y: 1}
@@ -1340,7 +1328,6 @@ RectTransform:
13401328
m_ConstrainProportionsScale: 0
13411329
m_Children: []
13421330
m_Father: {fileID: 8644696348179406289}
1343-
m_RootOrder: 0
13441331
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
13451332
m_AnchorMin: {x: 0, y: 0.5}
13461333
m_AnchorMax: {x: 0, y: 0.5}
@@ -1390,6 +1377,7 @@ PrefabInstance:
13901377
m_ObjectHideFlags: 0
13911378
serializedVersion: 2
13921379
m_Modification:
1380+
serializedVersion: 3
13931381
m_TransformParent: {fileID: 6307937999073975908}
13941382
m_Modifications:
13951383
- target: {fileID: 4936655407855709455, guid: 4849d2ed3b5a18948bf3cd46256869a4,
@@ -1530,6 +1518,9 @@ PrefabInstance:
15301518
value: 0
15311519
objectReference: {fileID: 0}
15321520
m_RemovedComponents: []
1521+
m_RemovedGameObjects: []
1522+
m_AddedGameObjects: []
1523+
m_AddedComponents: []
15331524
m_SourcePrefab: {fileID: 100100000, guid: 4849d2ed3b5a18948bf3cd46256869a4, type: 3}
15341525
--- !u!224 &5090644010913815139 stripped
15351526
RectTransform:

0 commit comments

Comments
 (0)