Skip to content

Commit

Permalink
add spritenftloaders
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamas Szucs committed Jan 16, 2023
1 parent 8e90aae commit e80427b
Show file tree
Hide file tree
Showing 31 changed files with 578 additions and 140 deletions.
14 changes: 8 additions & 6 deletions Assets/SuiUnitySDK/Prefabs/CapySpriteSVGNftLoader.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Transform:
m_GameObject: {fileID: 1858411093147489557}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0.1, y: 0.1, z: 1}
m_LocalScale: {x: 0.2, y: 0.2, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
Expand All @@ -53,7 +53,7 @@ SpriteRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 137d858a4eae4d34298f3cdcd31f5e0b, type: 2}
- {fileID: 2100000, guid: 73ddb2958e9cd451c82f37c26efa5eb0, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
Expand All @@ -74,15 +74,15 @@ SpriteRenderer:
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_Sprite: {fileID: 0}
m_Sprite: {fileID: 21300000, guid: 70632ddfe8e71b04b8f90ef7e29a9e98, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
m_Size: {x: 1, y: 1}
m_Size: {x: 19.338398, y: 21.323784}
m_AdaptiveModeThreshold: 0.5
m_SpriteTileMode: 0
m_WasSpriteAssigned: 0
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!114 &5336578054776271697
Expand All @@ -97,4 +97,6 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: f69b426109bf1cd43a07c37d88f79c4d, type: 3}
m_Name:
m_EditorClassIdentifier:
NftObjectId:
NftObjectId: 0x80f79590361c52aa5507a1234ccd1289daf67c8a
AccessoryPrefab: {fileID: 5491348119430231939, guid: 0fd7b46e47fc1f74b850555fe8417ef6, type: 3}
LoadAccessories: 0
101 changes: 101 additions & 0 deletions Assets/SuiUnitySDK/Prefabs/SpriteNftLoader.prefab
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &539349531932313787
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 539349531932313780}
- component: {fileID: 539349531932313781}
- component: {fileID: 539349531932313786}
m_Layer: 0
m_Name: SpriteNftLoader
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &539349531932313780
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 539349531932313787}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 3.34, y: 0.69, z: -3.5}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &539349531932313781
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 539349531932313787}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 0
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 73ddb2958e9cd451c82f37c26efa5eb0, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 0
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_Sprite: {fileID: 7482667652216324306, guid: cfa048be001fba24c990e0cd9febf94e, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
m_Size: {x: 19.338398, y: 21.323784}
m_AdaptiveModeThreshold: 0.5
m_SpriteTileMode: 0
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!114 &539349531932313786
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 539349531932313787}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 761342d7ab09fbd48ba7d82f2b34ccfe, type: 3}
m_Name:
m_EditorClassIdentifier:
NftObjectId: 0x80f79590361c52aa5507a1234ccd1289daf67c8a
TargetRenderer: {fileID: 539349531932313781}
7 changes: 7 additions & 0 deletions Assets/SuiUnitySDK/Prefabs/SpriteNftLoader.prefab.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 0 additions & 40 deletions Assets/SuiUnitySDK/Samples/Scenes/CapyNftLoaders.unity
Original file line number Diff line number Diff line change
Expand Up @@ -600,14 +600,6 @@ PrefabInstance:
propertyPath: m_RootOrder
value: 4
objectReference: {fileID: 0}
- target: {fileID: 1858411093147489552, guid: 6ec80bc139e5aaf44a5d977299d3f543, type: 3}
propertyPath: m_LocalScale.x
value: 0.2
objectReference: {fileID: 0}
- target: {fileID: 1858411093147489552, guid: 6ec80bc139e5aaf44a5d977299d3f543, type: 3}
propertyPath: m_LocalScale.y
value: 0.2
objectReference: {fileID: 0}
- target: {fileID: 1858411093147489552, guid: 6ec80bc139e5aaf44a5d977299d3f543, type: 3}
propertyPath: m_LocalPosition.x
value: 0
Expand Down Expand Up @@ -648,42 +640,10 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1858411093147489554, guid: 6ec80bc139e5aaf44a5d977299d3f543, type: 3}
propertyPath: m_Size.x
value: 19.338398
objectReference: {fileID: 0}
- target: {fileID: 1858411093147489554, guid: 6ec80bc139e5aaf44a5d977299d3f543, type: 3}
propertyPath: m_Size.y
value: 21.323784
objectReference: {fileID: 0}
- target: {fileID: 1858411093147489554, guid: 6ec80bc139e5aaf44a5d977299d3f543, type: 3}
propertyPath: m_Sprite
value:
objectReference: {fileID: 21300000, guid: 70632ddfe8e71b04b8f90ef7e29a9e98, type: 3}
- target: {fileID: 1858411093147489554, guid: 6ec80bc139e5aaf44a5d977299d3f543, type: 3}
propertyPath: m_WasSpriteAssigned
value: 1
objectReference: {fileID: 0}
- target: {fileID: 1858411093147489554, guid: 6ec80bc139e5aaf44a5d977299d3f543, type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: 73ddb2958e9cd451c82f37c26efa5eb0, type: 2}
- target: {fileID: 1858411093147489557, guid: 6ec80bc139e5aaf44a5d977299d3f543, type: 3}
propertyPath: m_Name
value: CapySpriteSVGNftLoader
objectReference: {fileID: 0}
- target: {fileID: 1858411093147489557, guid: 6ec80bc139e5aaf44a5d977299d3f543, type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5336578054776271697, guid: 6ec80bc139e5aaf44a5d977299d3f543, type: 3}
propertyPath: NftObjectId
value: 0x80f79590361c52aa5507a1234ccd1289daf67c8a
objectReference: {fileID: 0}
- target: {fileID: 5336578054776271697, guid: 6ec80bc139e5aaf44a5d977299d3f543, type: 3}
propertyPath: AccessoryPrefab
value:
objectReference: {fileID: 5491348119430231939, guid: 0fd7b46e47fc1f74b850555fe8417ef6, type: 3}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 6ec80bc139e5aaf44a5d977299d3f543, type: 3}
--- !u!1001 &848216410
Expand Down
Loading

0 comments on commit e80427b

Please sign in to comment.