repo_id
stringclasses 279
values | file_path
stringlengths 43
179
| content
stringlengths 1
4.18M
| __index_level_0__
int64 0
0
|
|---|---|---|---|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca/Resources/USDC.png.meta
|
fileFormatVersion: 2
guid: 7a764177bc6c54fcca810d3c79bf8857
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 0
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca/Resources/RAY.png.meta
|
fileFormatVersion: 2
guid: 04367391df7624329a446786504050f8
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 0
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca/OrcaWhirlPool/PriceUtils.cs
|
using System;
using System.Numerics;
namespace SolPlay.Orca.OrcaWhirlPool
{
public static class PriceUtils
{
public static double GetPriceFromSqrtPrice(BigInteger sqrtPrice)
{
var d = Double.Parse(sqrtPrice.ToString());
var fromX64 = Math.Pow(d * Math.Pow(2, -64), 2);
return fromX64;
}
}
}
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca/OrcaWhirlPool/PoolListItem.prefab
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &6808447208020967820
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6808447208020967823}
- component: {fileID: 6808447208020967793}
- component: {fileID: 6808447208020967822}
m_Layer: 5
m_Name: SymbolB
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &6808447208020967823
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6808447208020967820}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 6808447208592771112}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 39, y: 26}
m_SizeDelta: {x: 149.5112, y: 60.0977}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6808447208020967793
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6808447208020967820}
m_CullTransparentMesh: 1
--- !u!114 &6808447208020967822
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6808447208020967820}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: ORCA
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4294967295
m_fontColor: {r: 1, g: 1, b: 1, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 36
m_fontSizeBase: 36
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 1
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!1 &6808447208499798914
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6808447208499798917}
- component: {fileID: 6808447208499798919}
- component: {fileID: 6808447208499798916}
m_Layer: 5
m_Name: IconA
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &6808447208499798917
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6808447208499798914}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 6808447208592771112}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -75, y: 94.049}
m_SizeDelta: {x: 50, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6808447208499798919
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6808447208499798914}
m_CullTransparentMesh: 1
--- !u!114 &6808447208499798916
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6808447208499798914}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 0}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1 &6808447208553896733
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6808447208553896732}
- component: {fileID: 6808447208553896734}
- component: {fileID: 6808447208553896735}
m_Layer: 5
m_Name: IconB
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &6808447208553896732
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6808447208553896733}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 6808447208592771112}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -75, y: 31.049019}
m_SizeDelta: {x: 50, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6808447208553896734
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6808447208553896733}
m_CullTransparentMesh: 1
--- !u!114 &6808447208553896735
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6808447208553896733}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 0}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1 &6808447208592771113
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6808447208592771112}
- component: {fileID: 6808447208592771115}
m_Layer: 5
m_Name: PoolListItem
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &6808447208592771112
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6808447208592771113}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 6808447209064382831}
- {fileID: 6808447208605392268}
- {fileID: 6808447208499798917}
- {fileID: 6808447208020967823}
- {fileID: 6808447208553896732}
- {fileID: 7021317009971060173}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &6808447208592771115
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6808447208592771113}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0810f1227559d4dcaae31c74f2e1a07c, type: 3}
m_Name:
m_EditorClassIdentifier:
SwapButton: {fileID: 7021317009971060174}
IconA: {fileID: 6808447208499798916}
IconB: {fileID: 6808447208553896735}
TokenSymbolA: {fileID: 6808447208605392271}
TokenSymbolB: {fileID: 6808447208020967822}
--- !u!1 &6808447208605392269
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6808447208605392268}
- component: {fileID: 6808447208605392270}
- component: {fileID: 6808447208605392271}
m_Layer: 5
m_Name: SymbolA
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &6808447208605392268
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6808447208605392269}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 6808447208592771112}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 39, y: 89}
m_SizeDelta: {x: 149.5112, y: 60.0977}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6808447208605392270
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6808447208605392269}
m_CullTransparentMesh: 1
--- !u!114 &6808447208605392271
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6808447208605392269}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: ORCA
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4294967295
m_fontColor: {r: 1, g: 1, b: 1, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 36
m_fontSizeBase: 36
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 1
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!1 &6808447209064382828
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6808447209064382831}
- component: {fileID: 6808447209064382801}
- component: {fileID: 6808447209064382830}
m_Layer: 5
m_Name: Bg
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &6808447209064382831
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6808447209064382828}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 6808447208592771112}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6808447209064382801
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6808447209064382828}
m_CullTransparentMesh: 1
--- !u!114 &6808447209064382830
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6808447209064382828}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 95bcad4666e3ad942815fa1ec3e80d17, type: 3}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1001 &6808447208482988121
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 6808447208592771112}
m_Modifications:
- target: {fileID: 4543230662287133981, guid: c27ebc42ed62d4f528778183ed634846, type: 3}
propertyPath: m_text
value: Swap
objectReference: {fileID: 0}
- target: {fileID: 4543230662287133981, guid: c27ebc42ed62d4f528778183ed634846, type: 3}
propertyPath: m_fontSize
value: 42
objectReference: {fileID: 0}
- target: {fileID: 4543230662569328020, guid: c27ebc42ed62d4f528778183ed634846, type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 4543230662569328020, guid: c27ebc42ed62d4f528778183ed634846, type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 4543230662569328020, guid: c27ebc42ed62d4f528778183ed634846, type: 3}
propertyPath: m_RootOrder
value: 5
objectReference: {fileID: 0}
- target: {fileID: 4543230662569328020, guid: c27ebc42ed62d4f528778183ed634846, type: 3}
propertyPath: m_AnchorMax.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 4543230662569328020, guid: c27ebc42ed62d4f528778183ed634846, type: 3}
propertyPath: m_AnchorMax.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 4543230662569328020, guid: c27ebc42ed62d4f528778183ed634846, type: 3}
propertyPath: m_AnchorMin.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 4543230662569328020, guid: c27ebc42ed62d4f528778183ed634846, type: 3}
propertyPath: m_AnchorMin.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 4543230662569328020, guid: c27ebc42ed62d4f528778183ed634846, type: 3}
propertyPath: m_SizeDelta.x
value: 213.5445
objectReference: {fileID: 0}
- target: {fileID: 4543230662569328020, guid: c27ebc42ed62d4f528778183ed634846, type: 3}
propertyPath: m_SizeDelta.y
value: 80.5912
objectReference: {fileID: 0}
- target: {fileID: 4543230662569328020, guid: c27ebc42ed62d4f528778183ed634846, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4543230662569328020, guid: c27ebc42ed62d4f528778183ed634846, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4543230662569328020, guid: c27ebc42ed62d4f528778183ed634846, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4543230662569328020, guid: c27ebc42ed62d4f528778183ed634846, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4543230662569328020, guid: c27ebc42ed62d4f528778183ed634846, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4543230662569328020, guid: c27ebc42ed62d4f528778183ed634846, type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4543230662569328020, guid: c27ebc42ed62d4f528778183ed634846, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4543230662569328020, guid: c27ebc42ed62d4f528778183ed634846, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4543230662569328020, guid: c27ebc42ed62d4f528778183ed634846, type: 3}
propertyPath: m_AnchoredPosition.y
value: -96
objectReference: {fileID: 0}
- target: {fileID: 4543230662569328020, guid: c27ebc42ed62d4f528778183ed634846, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4543230662569328020, guid: c27ebc42ed62d4f528778183ed634846, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4543230662569328020, guid: c27ebc42ed62d4f528778183ed634846, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4543230662569328021, guid: c27ebc42ed62d4f528778183ed634846, type: 3}
propertyPath: m_Name
value: DefaultButton
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: c27ebc42ed62d4f528778183ed634846, type: 3}
--- !u!224 &7021317009971060173 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 4543230662569328020, guid: c27ebc42ed62d4f528778183ed634846, type: 3}
m_PrefabInstance: {fileID: 6808447208482988121}
m_PrefabAsset: {fileID: 0}
--- !u!114 &7021317009971060174 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 4543230662569328023, guid: c27ebc42ed62d4f528778183ed634846, type: 3}
m_PrefabInstance: {fileID: 6808447208482988121}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
m_Name:
m_EditorClassIdentifier:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca/OrcaWhirlPool/OrcaWhirlpoolService.cs.meta
|
fileFormatVersion: 2
guid: 73ecbebe448e4d8b8a4e23472a7eb22d
timeCreated: 1663844744
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca/OrcaWhirlPool/Whirlpool.cs.meta
|
fileFormatVersion: 2
guid: e98f0fa5ff5b64a8198a0017034559f2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca/OrcaWhirlPool/OrcaSwapPopup.cs.meta
|
fileFormatVersion: 2
guid: 3cb4a442bde7e48029e5c7bac43bde81
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca/OrcaWhirlPool/OrcaPDAUtils.cs.meta
|
fileFormatVersion: 2
guid: afffca11b72f456e9b51db06baae9cbf
timeCreated: 1663854038
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca/OrcaWhirlPool/PoolListItem.prefab.meta
|
fileFormatVersion: 2
guid: a796462386f8c452bbbbe6dfeadcf4fa
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca/OrcaWhirlPool/OrcaPDAUtils.cs
|
using System;
using System.Text;
using Solana.Unity.Wallet;
using UnityEngine;
namespace SolPlay.DeeplinksNftExample.Scripts.OrcaWhirlPool
{
public class OrcaPDAUtils
{
const string PDA_WHIRLPOOL_SEED = "whirlpool";
const string PDA_POSITION_SEED = "position";
const string PDA_METADATA_SEED = "metadata";
const string PDA_TICK_ARRAY_SEED = "tick_array";
const string PDA_FEE_TIER_SEED = "fee_tier";
const string PDA_ORACLE_SEED = "oracle";
public static PublicKey GetWhirlpoolPda(PublicKey programId, PublicKey whirlpoolsConfigKey,
PublicKey tokenMintAKey, PublicKey tokenMintBKey, ushort tickSpacing)
{
if (!PublicKey.TryFindProgramAddress(new[]
{
Encoding.UTF8.GetBytes(PDA_WHIRLPOOL_SEED), whirlpoolsConfigKey.KeyBytes, tokenMintAKey.KeyBytes, tokenMintBKey.KeyBytes, BitConverter.GetBytes(tickSpacing)
},
programId, out PublicKey pda, out var bump))
{
Debug.LogError("Could not find whirl pool address");
return null;
}
return pda;
}
public static PublicKey GetOracle(PublicKey programId, PublicKey whirlpoolAddress)
{
if (!PublicKey.TryFindProgramAddress(new[]
{
Encoding.UTF8.GetBytes(PDA_ORACLE_SEED), whirlpoolAddress.KeyBytes
},
programId, out PublicKey pda, out _))
{
Debug.LogError("Could not find oracle");
return null;
}
return pda;
}
public static PublicKey GetTickArray(PublicKey programId, PublicKey whirlpoolAddress, int startTick)
{
if (!PublicKey.TryFindProgramAddress(new[]
{
Encoding.UTF8.GetBytes(PDA_TICK_ARRAY_SEED),
whirlpoolAddress.KeyBytes,
Encoding.UTF8.GetBytes(startTick.ToString())
},
programId, out PublicKey pda, out _))
{
Debug.LogError("Could not find tick array");
return null;
}
return pda;
}
}
}
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca/OrcaWhirlPool/PoolData.cs.meta
|
fileFormatVersion: 2
guid: 7ccc84c81a624138800ff40385b29e7c
timeCreated: 1664309858
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca/OrcaWhirlPool/PoolData.cs
|
using System;
using Solana.Unity.Rpc.Models;
using Solana.Unity.Wallet;
using UnityEngine;
namespace SolPlay.Orca.OrcaWhirlPool
{
[Serializable]
public class PoolData
{
public Sprite SpriteA;
public Sprite SpriteB;
public string MintA;
public string MintB;
public string SymbolA;
public string SymbolB;
public Whirlpool.Accounts.Whirlpool Pool;
//public TokenMintInfo TokenMintInfoA;
//public TokenMintInfo TokenMintInfoB;
public Token TokenA;
public Token TokenB;
public PublicKey PoolPda;
}
}
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca/OrcaWhirlPool/DecimalUtils.cs.meta
|
fileFormatVersion: 2
guid: a967a16d7ac94426bec06394322bb32e
timeCreated: 1664016288
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca/OrcaWhirlPool/Whirlpool.cs
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Threading.Tasks;
using Solana.Unity.Programs.Abstract;
using Solana.Unity.Programs.Utilities;
using Solana.Unity.Rpc;
using Solana.Unity.Rpc.Core.Http;
using Solana.Unity.Rpc.Core.Sockets;
using Solana.Unity.Rpc.Types;
using Solana.Unity.Wallet;
using Whirlpool.Program;
using Whirlpool.Errors;
using Whirlpool.Accounts;
using Whirlpool.Types;
namespace Whirlpool
{
namespace Accounts
{
public partial class WhirlpoolsConfig
{
public static ulong ACCOUNT_DISCRIMINATOR => 18357050149419685021UL;
public static ReadOnlySpan<byte> ACCOUNT_DISCRIMINATOR_BYTES => new byte[]{157, 20, 49, 224, 217, 87, 193, 254};
public static string ACCOUNT_DISCRIMINATOR_B58 => "TGrzdk13ciR";
public PublicKey FeeAuthority { get; set; }
public PublicKey CollectProtocolFeesAuthority { get; set; }
public PublicKey RewardEmissionsSuperAuthority { get; set; }
public ushort DefaultProtocolFeeRate { get; set; }
public static WhirlpoolsConfig Deserialize(ReadOnlySpan<byte> _data)
{
int offset = 0;
ulong accountHashValue = _data.GetU64(offset);
offset += 8;
if (accountHashValue != ACCOUNT_DISCRIMINATOR)
{
return null;
}
WhirlpoolsConfig result = new WhirlpoolsConfig();
result.FeeAuthority = _data.GetPubKey(offset);
offset += 32;
result.CollectProtocolFeesAuthority = _data.GetPubKey(offset);
offset += 32;
result.RewardEmissionsSuperAuthority = _data.GetPubKey(offset);
offset += 32;
result.DefaultProtocolFeeRate = _data.GetU16(offset);
offset += 2;
return result;
}
}
public partial class FeeTier
{
public static ulong ACCOUNT_DISCRIMINATOR => 7619602997519010616UL;
public static ReadOnlySpan<byte> ACCOUNT_DISCRIMINATOR_BYTES => new byte[]{56, 75, 159, 76, 142, 68, 190, 105};
public static string ACCOUNT_DISCRIMINATOR_B58 => "AR8t9QRDQXa";
public PublicKey WhirlpoolsConfig { get; set; }
public ushort TickSpacing { get; set; }
public ushort DefaultFeeRate { get; set; }
public static FeeTier Deserialize(ReadOnlySpan<byte> _data)
{
int offset = 0;
ulong accountHashValue = _data.GetU64(offset);
offset += 8;
if (accountHashValue != ACCOUNT_DISCRIMINATOR)
{
return null;
}
FeeTier result = new FeeTier();
result.WhirlpoolsConfig = _data.GetPubKey(offset);
offset += 32;
result.TickSpacing = _data.GetU16(offset);
offset += 2;
result.DefaultFeeRate = _data.GetU16(offset);
offset += 2;
return result;
}
}
public partial class Position
{
public static ulong ACCOUNT_DISCRIMINATOR => 15057574775701355690UL;
public static ReadOnlySpan<byte> ACCOUNT_DISCRIMINATOR_BYTES => new byte[]{170, 188, 143, 228, 122, 64, 247, 208};
public static string ACCOUNT_DISCRIMINATOR_B58 => "VZMoMoKgZQb";
public PublicKey Whirlpool { get; set; }
public PublicKey PositionMint { get; set; }
public BigInteger Liquidity { get; set; }
public int TickLowerIndex { get; set; }
public int TickUpperIndex { get; set; }
public BigInteger FeeGrowthCheckpointA { get; set; }
public ulong FeeOwedA { get; set; }
public BigInteger FeeGrowthCheckpointB { get; set; }
public ulong FeeOwedB { get; set; }
public PositionRewardInfo[] RewardInfos { get; set; }
public static Position Deserialize(ReadOnlySpan<byte> _data)
{
int offset = 0;
ulong accountHashValue = _data.GetU64(offset);
offset += 8;
if (accountHashValue != ACCOUNT_DISCRIMINATOR)
{
return null;
}
Position result = new Position();
result.Whirlpool = _data.GetPubKey(offset);
offset += 32;
result.PositionMint = _data.GetPubKey(offset);
offset += 32;
result.Liquidity = _data.GetBigInt(offset, 16, false);
offset += 16;
result.TickLowerIndex = _data.GetS32(offset);
offset += 4;
result.TickUpperIndex = _data.GetS32(offset);
offset += 4;
result.FeeGrowthCheckpointA = _data.GetBigInt(offset, 16, false);
offset += 16;
result.FeeOwedA = _data.GetU64(offset);
offset += 8;
result.FeeGrowthCheckpointB = _data.GetBigInt(offset, 16, false);
offset += 16;
result.FeeOwedB = _data.GetU64(offset);
offset += 8;
result.RewardInfos = new PositionRewardInfo[3];
for (uint resultRewardInfosIdx = 0; resultRewardInfosIdx < 3; resultRewardInfosIdx++)
{
offset += PositionRewardInfo.Deserialize(_data, offset, out var resultRewardInfosresultRewardInfosIdx);
result.RewardInfos[resultRewardInfosIdx] = resultRewardInfosresultRewardInfosIdx;
}
return result;
}
}
public partial class TickArray
{
public static ulong ACCOUNT_DISCRIMINATOR => 13493355605783306565UL;
public static ReadOnlySpan<byte> ACCOUNT_DISCRIMINATOR_BYTES => new byte[]{69, 97, 189, 190, 110, 7, 66, 187};
public static string ACCOUNT_DISCRIMINATOR_B58 => "Cc6F4MyvbgN";
public int StartTickIndex { get; set; }
public Tick[] Ticks { get; set; }
public PublicKey Whirlpool { get; set; }
public static TickArray Deserialize(ReadOnlySpan<byte> _data)
{
int offset = 0;
ulong accountHashValue = _data.GetU64(offset);
offset += 8;
if (accountHashValue != ACCOUNT_DISCRIMINATOR)
{
return null;
}
TickArray result = new TickArray();
result.StartTickIndex = _data.GetS32(offset);
offset += 4;
result.Ticks = new Tick[88];
for (uint resultTicksIdx = 0; resultTicksIdx < 88; resultTicksIdx++)
{
offset += Tick.Deserialize(_data, offset, out var resultTicksresultTicksIdx);
result.Ticks[resultTicksIdx] = resultTicksresultTicksIdx;
}
result.Whirlpool = _data.GetPubKey(offset);
offset += 32;
return result;
}
}
public partial class Whirlpool
{
public static ulong ACCOUNT_DISCRIMINATOR => 676526073106765119UL;
public static ReadOnlySpan<byte> ACCOUNT_DISCRIMINATOR_BYTES => new byte[]{63, 149, 209, 12, 225, 128, 99, 9};
public static string ACCOUNT_DISCRIMINATOR_B58 => "BdrfaPg3xM6";
public PublicKey WhirlpoolsConfig { get; set; }
public byte[] WhirlpoolBump { get; set; }
public ushort TickSpacing { get; set; }
public byte[] TickSpacingSeed { get; set; }
public ushort FeeRate { get; set; }
public ushort ProtocolFeeRate { get; set; }
public BigInteger Liquidity { get; set; }
public BigInteger SqrtPrice { get; set; }
public int TickCurrentIndex { get; set; }
public ulong ProtocolFeeOwedA { get; set; }
public ulong ProtocolFeeOwedB { get; set; }
public PublicKey TokenMintA { get; set; }
public PublicKey TokenVaultA { get; set; }
public BigInteger FeeGrowthGlobalA { get; set; }
public PublicKey TokenMintB { get; set; }
public PublicKey TokenVaultB { get; set; }
public BigInteger FeeGrowthGlobalB { get; set; }
public ulong RewardLastUpdatedTimestamp { get; set; }
public WhirlpoolRewardInfo[] RewardInfos { get; set; }
public static Whirlpool Deserialize(ReadOnlySpan<byte> _data)
{
int offset = 0;
ulong accountHashValue = _data.GetU64(offset);
offset += 8;
if (accountHashValue != ACCOUNT_DISCRIMINATOR)
{
return null;
}
Whirlpool result = new Whirlpool();
result.WhirlpoolsConfig = _data.GetPubKey(offset);
offset += 32;
result.WhirlpoolBump = _data.GetBytes(offset, 1);
offset += 1;
result.TickSpacing = _data.GetU16(offset);
offset += 2;
result.TickSpacingSeed = _data.GetBytes(offset, 2);
offset += 2;
result.FeeRate = _data.GetU16(offset);
offset += 2;
result.ProtocolFeeRate = _data.GetU16(offset);
offset += 2;
result.Liquidity = _data.GetBigInt(offset, 16, false);
offset += 16;
result.SqrtPrice = _data.GetBigInt(offset, 16, false);
offset += 16;
result.TickCurrentIndex = _data.GetS32(offset);
offset += 4;
result.ProtocolFeeOwedA = _data.GetU64(offset);
offset += 8;
result.ProtocolFeeOwedB = _data.GetU64(offset);
offset += 8;
result.TokenMintA = _data.GetPubKey(offset);
offset += 32;
result.TokenVaultA = _data.GetPubKey(offset);
offset += 32;
result.FeeGrowthGlobalA = _data.GetBigInt(offset, 16, false);
offset += 16;
result.TokenMintB = _data.GetPubKey(offset);
offset += 32;
result.TokenVaultB = _data.GetPubKey(offset);
offset += 32;
result.FeeGrowthGlobalB = _data.GetBigInt(offset, 16, false);
offset += 16;
result.RewardLastUpdatedTimestamp = _data.GetU64(offset);
offset += 8;
result.RewardInfos = new WhirlpoolRewardInfo[3];
for (uint resultRewardInfosIdx = 0; resultRewardInfosIdx < 3; resultRewardInfosIdx++)
{
offset += WhirlpoolRewardInfo.Deserialize(_data, offset, out var resultRewardInfosresultRewardInfosIdx);
result.RewardInfos[resultRewardInfosIdx] = resultRewardInfosresultRewardInfosIdx;
}
return result;
}
}
}
namespace Errors
{
public enum WhirlpoolErrorKind : uint
{
InvalidEnum = 6000U,
InvalidStartTick = 6001U,
TickArrayExistInPool = 6002U,
TickArrayIndexOutofBounds = 6003U,
InvalidTickSpacing = 6004U,
ClosePositionNotEmpty = 6005U,
DivideByZero = 6006U,
NumberCastError = 6007U,
NumberDownCastError = 6008U,
TickNotFound = 6009U,
InvalidTickIndex = 6010U,
SqrtPriceOutOfBounds = 6011U,
LiquidityZero = 6012U,
LiquidityTooHigh = 6013U,
LiquidityOverflow = 6014U,
LiquidityUnderflow = 6015U,
LiquidityNetError = 6016U,
TokenMaxExceeded = 6017U,
TokenMinSubceeded = 6018U,
MissingOrInvalidDelegate = 6019U,
InvalidPositionTokenAmount = 6020U,
InvalidTimestampConversion = 6021U,
InvalidTimestamp = 6022U,
InvalidTickArraySequence = 6023U,
InvalidTokenMintOrder = 6024U,
RewardNotInitialized = 6025U,
InvalidRewardIndex = 6026U,
RewardVaultAmountInsufficient = 6027U,
FeeRateMaxExceeded = 6028U,
ProtocolFeeRateMaxExceeded = 6029U,
MultiplicationShiftRightOverflow = 6030U,
MulDivOverflow = 6031U,
MulDivInvalidInput = 6032U,
MultiplicationOverflow = 6033U,
InvalidSqrtPriceLimitDirection = 6034U,
ZeroTradableAmount = 6035U,
AmountOutBelowMinimum = 6036U,
AmountInAboveMaximum = 6037U,
TickArraySequenceInvalidIndex = 6038U,
AmountCalcOverflow = 6039U,
AmountRemainingOverflow = 6040U
}
}
namespace Types
{
public partial class OpenPositionBumps
{
public byte PositionBump { get; set; }
public int Serialize(byte[] _data, int initialOffset)
{
int offset = initialOffset;
_data.WriteU8(PositionBump, offset);
offset += 1;
return offset - initialOffset;
}
public static int Deserialize(ReadOnlySpan<byte> _data, int initialOffset, out OpenPositionBumps result)
{
int offset = initialOffset;
result = new OpenPositionBumps();
result.PositionBump = _data.GetU8(offset);
offset += 1;
return offset - initialOffset;
}
}
public partial class OpenPositionWithMetadataBumps
{
public byte PositionBump { get; set; }
public byte MetadataBump { get; set; }
public int Serialize(byte[] _data, int initialOffset)
{
int offset = initialOffset;
_data.WriteU8(PositionBump, offset);
offset += 1;
_data.WriteU8(MetadataBump, offset);
offset += 1;
return offset - initialOffset;
}
public static int Deserialize(ReadOnlySpan<byte> _data, int initialOffset, out OpenPositionWithMetadataBumps result)
{
int offset = initialOffset;
result = new OpenPositionWithMetadataBumps();
result.PositionBump = _data.GetU8(offset);
offset += 1;
result.MetadataBump = _data.GetU8(offset);
offset += 1;
return offset - initialOffset;
}
}
public partial class PositionRewardInfo
{
public BigInteger GrowthInsideCheckpoint { get; set; }
public ulong AmountOwed { get; set; }
public int Serialize(byte[] _data, int initialOffset)
{
int offset = initialOffset;
_data.WriteBigInt(GrowthInsideCheckpoint, offset, 16, true);
offset += 16;
_data.WriteU64(AmountOwed, offset);
offset += 8;
return offset - initialOffset;
}
public static int Deserialize(ReadOnlySpan<byte> _data, int initialOffset, out PositionRewardInfo result)
{
int offset = initialOffset;
result = new PositionRewardInfo();
result.GrowthInsideCheckpoint = _data.GetBigInt(offset, 16, false);
offset += 16;
result.AmountOwed = _data.GetU64(offset);
offset += 8;
return offset - initialOffset;
}
}
public partial class Tick
{
public bool Initialized { get; set; }
public BigInteger LiquidityNet { get; set; }
public BigInteger LiquidityGross { get; set; }
public BigInteger FeeGrowthOutsideA { get; set; }
public BigInteger FeeGrowthOutsideB { get; set; }
public BigInteger[] RewardGrowthsOutside { get; set; }
public int Serialize(byte[] _data, int initialOffset)
{
int offset = initialOffset;
_data.WriteBool(Initialized, offset);
offset += 1;
_data.WriteBigInt(LiquidityNet, offset, 16, false);
offset += 16;
_data.WriteBigInt(LiquidityGross, offset, 16, true);
offset += 16;
_data.WriteBigInt(FeeGrowthOutsideA, offset, 16, true);
offset += 16;
_data.WriteBigInt(FeeGrowthOutsideB, offset, 16, true);
offset += 16;
foreach (var rewardGrowthsOutsideElement in RewardGrowthsOutside)
{
_data.WriteBigInt(rewardGrowthsOutsideElement, offset, 16, true);
offset += 16;
}
return offset - initialOffset;
}
public static int Deserialize(ReadOnlySpan<byte> _data, int initialOffset, out Tick result)
{
int offset = initialOffset;
result = new Tick();
result.Initialized = _data.GetBool(offset);
offset += 1;
result.LiquidityNet = _data.GetBigInt(offset, 16, true);
offset += 16;
result.LiquidityGross = _data.GetBigInt(offset, 16, false);
offset += 16;
result.FeeGrowthOutsideA = _data.GetBigInt(offset, 16, false);
offset += 16;
result.FeeGrowthOutsideB = _data.GetBigInt(offset, 16, false);
offset += 16;
result.RewardGrowthsOutside = new BigInteger[3];
for (uint resultRewardGrowthsOutsideIdx = 0; resultRewardGrowthsOutsideIdx < 3; resultRewardGrowthsOutsideIdx++)
{
result.RewardGrowthsOutside[resultRewardGrowthsOutsideIdx] = _data.GetBigInt(offset, 16, false);
offset += 16;
}
return offset - initialOffset;
}
}
public partial class WhirlpoolRewardInfo
{
public PublicKey Mint { get; set; }
public PublicKey Vault { get; set; }
public PublicKey Authority { get; set; }
public BigInteger EmissionsPerSecondX64 { get; set; }
public BigInteger GrowthGlobalX64 { get; set; }
public int Serialize(byte[] _data, int initialOffset)
{
int offset = initialOffset;
_data.WritePubKey(Mint, offset);
offset += 32;
_data.WritePubKey(Vault, offset);
offset += 32;
_data.WritePubKey(Authority, offset);
offset += 32;
_data.WriteBigInt(EmissionsPerSecondX64, offset, 16, true);
offset += 16;
_data.WriteBigInt(GrowthGlobalX64, offset, 16, true);
offset += 16;
return offset - initialOffset;
}
public static int Deserialize(ReadOnlySpan<byte> _data, int initialOffset, out WhirlpoolRewardInfo result)
{
int offset = initialOffset;
result = new WhirlpoolRewardInfo();
result.Mint = _data.GetPubKey(offset);
offset += 32;
result.Vault = _data.GetPubKey(offset);
offset += 32;
result.Authority = _data.GetPubKey(offset);
offset += 32;
result.EmissionsPerSecondX64 = _data.GetBigInt(offset, 16, false);
offset += 16;
result.GrowthGlobalX64 = _data.GetBigInt(offset, 16, false);
offset += 16;
return offset - initialOffset;
}
}
public partial class WhirlpoolBumps
{
public byte WhirlpoolBump { get; set; }
public int Serialize(byte[] _data, int initialOffset)
{
int offset = initialOffset;
_data.WriteU8(WhirlpoolBump, offset);
offset += 1;
return offset - initialOffset;
}
public static int Deserialize(ReadOnlySpan<byte> _data, int initialOffset, out WhirlpoolBumps result)
{
int offset = initialOffset;
result = new WhirlpoolBumps();
result.WhirlpoolBump = _data.GetU8(offset);
offset += 1;
return offset - initialOffset;
}
}
}
public partial class WhirlpoolClient : TransactionalBaseClient<WhirlpoolErrorKind>
{
public WhirlpoolClient(IRpcClient rpcClient, IStreamingRpcClient streamingRpcClient, PublicKey programId) : base(rpcClient, streamingRpcClient, programId)
{
}
public async Task<Solana.Unity.Programs.Models.ProgramAccountsResultWrapper<List<WhirlpoolsConfig>>> GetWhirlpoolsConfigsAsync(string programAddress, Commitment commitment = Commitment.Finalized)
{
var list = new List<Solana.Unity.Rpc.Models.MemCmp>{new Solana.Unity.Rpc.Models.MemCmp{Bytes = WhirlpoolsConfig.ACCOUNT_DISCRIMINATOR_B58, Offset = 0}};
var res = await RpcClient.GetProgramAccountsAsync(programAddress, commitment, memCmpList: list);
if (!res.WasSuccessful || !(res.Result?.Count > 0))
return new Solana.Unity.Programs.Models.ProgramAccountsResultWrapper<List<WhirlpoolsConfig>>(res);
List<WhirlpoolsConfig> resultingAccounts = new List<WhirlpoolsConfig>(res.Result.Count);
resultingAccounts.AddRange(res.Result.Select(result => WhirlpoolsConfig.Deserialize(Convert.FromBase64String(result.Account.Data[0]))));
return new Solana.Unity.Programs.Models.ProgramAccountsResultWrapper<List<WhirlpoolsConfig>>(res, resultingAccounts);
}
public async Task<Solana.Unity.Programs.Models.ProgramAccountsResultWrapper<List<FeeTier>>> GetFeeTiersAsync(string programAddress, Commitment commitment = Commitment.Finalized)
{
var list = new List<Solana.Unity.Rpc.Models.MemCmp>{new Solana.Unity.Rpc.Models.MemCmp{Bytes = FeeTier.ACCOUNT_DISCRIMINATOR_B58, Offset = 0}};
var res = await RpcClient.GetProgramAccountsAsync(programAddress, commitment, memCmpList: list);
if (!res.WasSuccessful || !(res.Result?.Count > 0))
return new Solana.Unity.Programs.Models.ProgramAccountsResultWrapper<List<FeeTier>>(res);
List<FeeTier> resultingAccounts = new List<FeeTier>(res.Result.Count);
resultingAccounts.AddRange(res.Result.Select(result => FeeTier.Deserialize(Convert.FromBase64String(result.Account.Data[0]))));
return new Solana.Unity.Programs.Models.ProgramAccountsResultWrapper<List<FeeTier>>(res, resultingAccounts);
}
public async Task<Solana.Unity.Programs.Models.ProgramAccountsResultWrapper<List<Position>>> GetPositionsAsync(string programAddress, Commitment commitment = Commitment.Finalized)
{
var list = new List<Solana.Unity.Rpc.Models.MemCmp>{new Solana.Unity.Rpc.Models.MemCmp{Bytes = Position.ACCOUNT_DISCRIMINATOR_B58, Offset = 0}};
var res = await RpcClient.GetProgramAccountsAsync(programAddress, commitment, memCmpList: list);
if (!res.WasSuccessful || !(res.Result?.Count > 0))
return new Solana.Unity.Programs.Models.ProgramAccountsResultWrapper<List<Position>>(res);
List<Position> resultingAccounts = new List<Position>(res.Result.Count);
resultingAccounts.AddRange(res.Result.Select(result => Position.Deserialize(Convert.FromBase64String(result.Account.Data[0]))));
return new Solana.Unity.Programs.Models.ProgramAccountsResultWrapper<List<Position>>(res, resultingAccounts);
}
public async Task<Solana.Unity.Programs.Models.ProgramAccountsResultWrapper<List<TickArray>>> GetTickArraysAsync(string programAddress, Commitment commitment = Commitment.Finalized)
{
var list = new List<Solana.Unity.Rpc.Models.MemCmp>{new Solana.Unity.Rpc.Models.MemCmp{Bytes = TickArray.ACCOUNT_DISCRIMINATOR_B58, Offset = 0}};
var res = await RpcClient.GetProgramAccountsAsync(programAddress, commitment, memCmpList: list);
if (!res.WasSuccessful || !(res.Result?.Count > 0))
return new Solana.Unity.Programs.Models.ProgramAccountsResultWrapper<List<TickArray>>(res);
List<TickArray> resultingAccounts = new List<TickArray>(res.Result.Count);
resultingAccounts.AddRange(res.Result.Select(result => TickArray.Deserialize(Convert.FromBase64String(result.Account.Data[0]))));
return new Solana.Unity.Programs.Models.ProgramAccountsResultWrapper<List<TickArray>>(res, resultingAccounts);
}
public async Task<Solana.Unity.Programs.Models.ProgramAccountsResultWrapper<List<Whirlpool.Accounts.Whirlpool>>> GetWhirlpoolsAsync(string programAddress, Commitment commitment = Commitment.Finalized)
{
var list = new List<Solana.Unity.Rpc.Models.MemCmp>{new Solana.Unity.Rpc.Models.MemCmp{Bytes = Whirlpool.Accounts.Whirlpool.ACCOUNT_DISCRIMINATOR_B58, Offset = 0}};
var res = await RpcClient.GetProgramAccountsAsync(programAddress, commitment, memCmpList: list);
if (!res.WasSuccessful || !(res.Result?.Count > 0))
return new Solana.Unity.Programs.Models.ProgramAccountsResultWrapper<List<Whirlpool.Accounts.Whirlpool>>(res);
List<Whirlpool.Accounts.Whirlpool> resultingAccounts = new List<Whirlpool.Accounts.Whirlpool>(res.Result.Count);
resultingAccounts.AddRange(res.Result.Select(result => Whirlpool.Accounts.Whirlpool.Deserialize(Convert.FromBase64String(result.Account.Data[0]))));
return new Solana.Unity.Programs.Models.ProgramAccountsResultWrapper<List<Whirlpool.Accounts.Whirlpool>>(res, resultingAccounts);
}
public async Task<Solana.Unity.Programs.Models.AccountResultWrapper<WhirlpoolsConfig>> GetWhirlpoolsConfigAsync(string accountAddress, Commitment commitment = Commitment.Finalized)
{
var res = await RpcClient.GetAccountInfoAsync(accountAddress, commitment);
if (!res.WasSuccessful)
return new Solana.Unity.Programs.Models.AccountResultWrapper<WhirlpoolsConfig>(res);
var resultingAccount = WhirlpoolsConfig.Deserialize(Convert.FromBase64String(res.Result.Value.Data[0]));
return new Solana.Unity.Programs.Models.AccountResultWrapper<WhirlpoolsConfig>(res, resultingAccount);
}
public async Task<Solana.Unity.Programs.Models.AccountResultWrapper<FeeTier>> GetFeeTierAsync(string accountAddress, Commitment commitment = Commitment.Finalized)
{
var res = await RpcClient.GetAccountInfoAsync(accountAddress, commitment);
if (!res.WasSuccessful)
return new Solana.Unity.Programs.Models.AccountResultWrapper<FeeTier>(res);
var resultingAccount = FeeTier.Deserialize(Convert.FromBase64String(res.Result.Value.Data[0]));
return new Solana.Unity.Programs.Models.AccountResultWrapper<FeeTier>(res, resultingAccount);
}
public async Task<Solana.Unity.Programs.Models.AccountResultWrapper<Position>> GetPositionAsync(string accountAddress, Commitment commitment = Commitment.Finalized)
{
var res = await RpcClient.GetAccountInfoAsync(accountAddress, commitment);
if (!res.WasSuccessful)
return new Solana.Unity.Programs.Models.AccountResultWrapper<Position>(res);
var resultingAccount = Position.Deserialize(Convert.FromBase64String(res.Result.Value.Data[0]));
return new Solana.Unity.Programs.Models.AccountResultWrapper<Position>(res, resultingAccount);
}
public async Task<Solana.Unity.Programs.Models.AccountResultWrapper<TickArray>> GetTickArrayAsync(string accountAddress, Commitment commitment = Commitment.Finalized)
{
var res = await RpcClient.GetAccountInfoAsync(accountAddress, commitment);
if (!res.WasSuccessful)
return new Solana.Unity.Programs.Models.AccountResultWrapper<TickArray>(res);
var resultingAccount = TickArray.Deserialize(Convert.FromBase64String(res.Result.Value.Data[0]));
return new Solana.Unity.Programs.Models.AccountResultWrapper<TickArray>(res, resultingAccount);
}
public async Task<Solana.Unity.Programs.Models.AccountResultWrapper<Whirlpool.Accounts.Whirlpool>> GetWhirlpoolAsync(string accountAddress, Commitment commitment = Commitment.Finalized)
{
var res = await RpcClient.GetAccountInfoAsync(accountAddress, commitment);
if (!res.WasSuccessful)
return new Solana.Unity.Programs.Models.AccountResultWrapper<Whirlpool.Accounts.Whirlpool>(res);
var resultingAccount = Whirlpool.Accounts.Whirlpool.Deserialize(Convert.FromBase64String(res.Result.Value.Data[0]));
return new Solana.Unity.Programs.Models.AccountResultWrapper<Whirlpool.Accounts.Whirlpool>(res, resultingAccount);
}
public async Task<SubscriptionState> SubscribeWhirlpoolsConfigAsync(string accountAddress, Action<SubscriptionState, Solana.Unity.Rpc.Messages.ResponseValue<Solana.Unity.Rpc.Models.AccountInfo>, WhirlpoolsConfig> callback, Commitment commitment = Commitment.Finalized)
{
SubscriptionState res = await StreamingRpcClient.SubscribeAccountInfoAsync(accountAddress, (s, e) =>
{
WhirlpoolsConfig parsingResult = null;
if (e.Value?.Data?.Count > 0)
parsingResult = WhirlpoolsConfig.Deserialize(Convert.FromBase64String(e.Value.Data[0]));
callback(s, e, parsingResult);
}, commitment);
return res;
}
public async Task<SubscriptionState> SubscribeFeeTierAsync(string accountAddress, Action<SubscriptionState, Solana.Unity.Rpc.Messages.ResponseValue<Solana.Unity.Rpc.Models.AccountInfo>, FeeTier> callback, Commitment commitment = Commitment.Finalized)
{
SubscriptionState res = await StreamingRpcClient.SubscribeAccountInfoAsync(accountAddress, (s, e) =>
{
FeeTier parsingResult = null;
if (e.Value?.Data?.Count > 0)
parsingResult = FeeTier.Deserialize(Convert.FromBase64String(e.Value.Data[0]));
callback(s, e, parsingResult);
}, commitment);
return res;
}
public async Task<SubscriptionState> SubscribePositionAsync(string accountAddress, Action<SubscriptionState, Solana.Unity.Rpc.Messages.ResponseValue<Solana.Unity.Rpc.Models.AccountInfo>, Position> callback, Commitment commitment = Commitment.Finalized)
{
SubscriptionState res = await StreamingRpcClient.SubscribeAccountInfoAsync(accountAddress, (s, e) =>
{
Position parsingResult = null;
if (e.Value?.Data?.Count > 0)
parsingResult = Position.Deserialize(Convert.FromBase64String(e.Value.Data[0]));
callback(s, e, parsingResult);
}, commitment);
return res;
}
public async Task<SubscriptionState> SubscribeTickArrayAsync(string accountAddress, Action<SubscriptionState, Solana.Unity.Rpc.Messages.ResponseValue<Solana.Unity.Rpc.Models.AccountInfo>, TickArray> callback, Commitment commitment = Commitment.Finalized)
{
SubscriptionState res = await StreamingRpcClient.SubscribeAccountInfoAsync(accountAddress, (s, e) =>
{
TickArray parsingResult = null;
if (e.Value?.Data?.Count > 0)
parsingResult = TickArray.Deserialize(Convert.FromBase64String(e.Value.Data[0]));
callback(s, e, parsingResult);
}, commitment);
return res;
}
public async Task<SubscriptionState> SubscribeWhirlpoolAsync(string accountAddress, Action<SubscriptionState, Solana.Unity.Rpc.Messages.ResponseValue<Solana.Unity.Rpc.Models.AccountInfo>, Whirlpool.Accounts.Whirlpool> callback, Commitment commitment = Commitment.Finalized)
{
SubscriptionState res = await StreamingRpcClient.SubscribeAccountInfoAsync(accountAddress, (s, e) =>
{
Whirlpool.Accounts.Whirlpool parsingResult = null;
if (e.Value?.Data?.Count > 0)
parsingResult = Whirlpool.Accounts.Whirlpool.Deserialize(Convert.FromBase64String(e.Value.Data[0]));
callback(s, e, parsingResult);
}, commitment);
return res;
}
public async Task<RequestResult<string>> SendInitializeConfigAsync(InitializeConfigAccounts accounts, PublicKey feeAuthority, PublicKey collectProtocolFeesAuthority, PublicKey rewardEmissionsSuperAuthority, ushort defaultProtocolFeeRate, PublicKey feePayer, Func<byte[], PublicKey, byte[]> signingCallback, PublicKey programId)
{
Solana.Unity.Rpc.Models.TransactionInstruction instr = Program.WhirlpoolProgram.InitializeConfig(accounts, feeAuthority, collectProtocolFeesAuthority, rewardEmissionsSuperAuthority, defaultProtocolFeeRate, programId);
return await SignAndSendTransaction(instr, feePayer, signingCallback);
}
public async Task<RequestResult<string>> SendInitializePoolAsync(InitializePoolAccounts accounts, WhirlpoolBumps bumps, ushort tickSpacing, BigInteger initialSqrtPrice, PublicKey feePayer, Func<byte[], PublicKey, byte[]> signingCallback, PublicKey programId)
{
Solana.Unity.Rpc.Models.TransactionInstruction instr = Program.WhirlpoolProgram.InitializePool(accounts, bumps, tickSpacing, initialSqrtPrice, programId);
return await SignAndSendTransaction(instr, feePayer, signingCallback);
}
public async Task<RequestResult<string>> SendInitializeTickArrayAsync(InitializeTickArrayAccounts accounts, int startTickIndex, PublicKey feePayer, Func<byte[], PublicKey, byte[]> signingCallback, PublicKey programId)
{
Solana.Unity.Rpc.Models.TransactionInstruction instr = Program.WhirlpoolProgram.InitializeTickArray(accounts, startTickIndex, programId);
return await SignAndSendTransaction(instr, feePayer, signingCallback);
}
public async Task<RequestResult<string>> SendInitializeFeeTierAsync(InitializeFeeTierAccounts accounts, ushort tickSpacing, ushort defaultFeeRate, PublicKey feePayer, Func<byte[], PublicKey, byte[]> signingCallback, PublicKey programId)
{
Solana.Unity.Rpc.Models.TransactionInstruction instr = Program.WhirlpoolProgram.InitializeFeeTier(accounts, tickSpacing, defaultFeeRate, programId);
return await SignAndSendTransaction(instr, feePayer, signingCallback);
}
public async Task<RequestResult<string>> SendInitializeRewardAsync(InitializeRewardAccounts accounts, byte rewardIndex, PublicKey feePayer, Func<byte[], PublicKey, byte[]> signingCallback, PublicKey programId)
{
Solana.Unity.Rpc.Models.TransactionInstruction instr = Program.WhirlpoolProgram.InitializeReward(accounts, rewardIndex, programId);
return await SignAndSendTransaction(instr, feePayer, signingCallback);
}
public async Task<RequestResult<string>> SendSetRewardEmissionsAsync(SetRewardEmissionsAccounts accounts, byte rewardIndex, BigInteger emissionsPerSecondX64, PublicKey feePayer, Func<byte[], PublicKey, byte[]> signingCallback, PublicKey programId)
{
Solana.Unity.Rpc.Models.TransactionInstruction instr = Program.WhirlpoolProgram.SetRewardEmissions(accounts, rewardIndex, emissionsPerSecondX64, programId);
return await SignAndSendTransaction(instr, feePayer, signingCallback);
}
public async Task<RequestResult<string>> SendOpenPositionAsync(OpenPositionAccounts accounts, OpenPositionBumps bumps, int tickLowerIndex, int tickUpperIndex, PublicKey feePayer, Func<byte[], PublicKey, byte[]> signingCallback, PublicKey programId)
{
Solana.Unity.Rpc.Models.TransactionInstruction instr = Program.WhirlpoolProgram.OpenPosition(accounts, bumps, tickLowerIndex, tickUpperIndex, programId);
return await SignAndSendTransaction(instr, feePayer, signingCallback);
}
public async Task<RequestResult<string>> SendOpenPositionWithMetadataAsync(OpenPositionWithMetadataAccounts accounts, OpenPositionWithMetadataBumps bumps, int tickLowerIndex, int tickUpperIndex, PublicKey feePayer, Func<byte[], PublicKey, byte[]> signingCallback, PublicKey programId)
{
Solana.Unity.Rpc.Models.TransactionInstruction instr = Program.WhirlpoolProgram.OpenPositionWithMetadata(accounts, bumps, tickLowerIndex, tickUpperIndex, programId);
return await SignAndSendTransaction(instr, feePayer, signingCallback);
}
public async Task<RequestResult<string>> SendIncreaseLiquidityAsync(IncreaseLiquidityAccounts accounts, BigInteger liquidityAmount, ulong tokenMaxA, ulong tokenMaxB, PublicKey feePayer, Func<byte[], PublicKey, byte[]> signingCallback, PublicKey programId)
{
Solana.Unity.Rpc.Models.TransactionInstruction instr = Program.WhirlpoolProgram.IncreaseLiquidity(accounts, liquidityAmount, tokenMaxA, tokenMaxB, programId);
return await SignAndSendTransaction(instr, feePayer, signingCallback);
}
public async Task<RequestResult<string>> SendDecreaseLiquidityAsync(DecreaseLiquidityAccounts accounts, BigInteger liquidityAmount, ulong tokenMinA, ulong tokenMinB, PublicKey feePayer, Func<byte[], PublicKey, byte[]> signingCallback, PublicKey programId)
{
Solana.Unity.Rpc.Models.TransactionInstruction instr = Program.WhirlpoolProgram.DecreaseLiquidity(accounts, liquidityAmount, tokenMinA, tokenMinB, programId);
return await SignAndSendTransaction(instr, feePayer, signingCallback);
}
public async Task<RequestResult<string>> SendUpdateFeesAndRewardsAsync(UpdateFeesAndRewardsAccounts accounts, PublicKey feePayer, Func<byte[], PublicKey, byte[]> signingCallback, PublicKey programId)
{
Solana.Unity.Rpc.Models.TransactionInstruction instr = Program.WhirlpoolProgram.UpdateFeesAndRewards(accounts, programId);
return await SignAndSendTransaction(instr, feePayer, signingCallback);
}
public async Task<RequestResult<string>> SendCollectFeesAsync(CollectFeesAccounts accounts, PublicKey feePayer, Func<byte[], PublicKey, byte[]> signingCallback, PublicKey programId)
{
Solana.Unity.Rpc.Models.TransactionInstruction instr = Program.WhirlpoolProgram.CollectFees(accounts, programId);
return await SignAndSendTransaction(instr, feePayer, signingCallback);
}
public async Task<RequestResult<string>> SendCollectRewardAsync(CollectRewardAccounts accounts, byte rewardIndex, PublicKey feePayer, Func<byte[], PublicKey, byte[]> signingCallback, PublicKey programId)
{
Solana.Unity.Rpc.Models.TransactionInstruction instr = Program.WhirlpoolProgram.CollectReward(accounts, rewardIndex, programId);
return await SignAndSendTransaction(instr, feePayer, signingCallback);
}
public async Task<RequestResult<string>> SendCollectProtocolFeesAsync(CollectProtocolFeesAccounts accounts, PublicKey feePayer, Func<byte[], PublicKey, byte[]> signingCallback, PublicKey programId)
{
Solana.Unity.Rpc.Models.TransactionInstruction instr = Program.WhirlpoolProgram.CollectProtocolFees(accounts, programId);
return await SignAndSendTransaction(instr, feePayer, signingCallback);
}
public async Task<RequestResult<string>> SendSwapAsync(SwapAccounts accounts, ulong amount, ulong otherAmountThreshold, BigInteger sqrtPriceLimit, bool amountSpecifiedIsInput, bool aToB, PublicKey feePayer, Func<byte[], PublicKey, byte[]> signingCallback, PublicKey programId)
{
Solana.Unity.Rpc.Models.TransactionInstruction instr = Program.WhirlpoolProgram.Swap(accounts, amount, otherAmountThreshold, sqrtPriceLimit, amountSpecifiedIsInput, aToB, programId);
return await SignAndSendTransaction(instr, feePayer, signingCallback);
}
public async Task<RequestResult<string>> SendClosePositionAsync(ClosePositionAccounts accounts, PublicKey feePayer, Func<byte[], PublicKey, byte[]> signingCallback, PublicKey programId)
{
Solana.Unity.Rpc.Models.TransactionInstruction instr = Program.WhirlpoolProgram.ClosePosition(accounts, programId);
return await SignAndSendTransaction(instr, feePayer, signingCallback);
}
public async Task<RequestResult<string>> SendSetDefaultFeeRateAsync(SetDefaultFeeRateAccounts accounts, ushort defaultFeeRate, PublicKey feePayer, Func<byte[], PublicKey, byte[]> signingCallback, PublicKey programId)
{
Solana.Unity.Rpc.Models.TransactionInstruction instr = Program.WhirlpoolProgram.SetDefaultFeeRate(accounts, defaultFeeRate, programId);
return await SignAndSendTransaction(instr, feePayer, signingCallback);
}
public async Task<RequestResult<string>> SendSetDefaultProtocolFeeRateAsync(SetDefaultProtocolFeeRateAccounts accounts, ushort defaultProtocolFeeRate, PublicKey feePayer, Func<byte[], PublicKey, byte[]> signingCallback, PublicKey programId)
{
Solana.Unity.Rpc.Models.TransactionInstruction instr = Program.WhirlpoolProgram.SetDefaultProtocolFeeRate(accounts, defaultProtocolFeeRate, programId);
return await SignAndSendTransaction(instr, feePayer, signingCallback);
}
public async Task<RequestResult<string>> SendSetFeeRateAsync(SetFeeRateAccounts accounts, ushort feeRate, PublicKey feePayer, Func<byte[], PublicKey, byte[]> signingCallback, PublicKey programId)
{
Solana.Unity.Rpc.Models.TransactionInstruction instr = Program.WhirlpoolProgram.SetFeeRate(accounts, feeRate, programId);
return await SignAndSendTransaction(instr, feePayer, signingCallback);
}
public async Task<RequestResult<string>> SendSetProtocolFeeRateAsync(SetProtocolFeeRateAccounts accounts, ushort protocolFeeRate, PublicKey feePayer, Func<byte[], PublicKey, byte[]> signingCallback, PublicKey programId)
{
Solana.Unity.Rpc.Models.TransactionInstruction instr = Program.WhirlpoolProgram.SetProtocolFeeRate(accounts, protocolFeeRate, programId);
return await SignAndSendTransaction(instr, feePayer, signingCallback);
}
public async Task<RequestResult<string>> SendSetFeeAuthorityAsync(SetFeeAuthorityAccounts accounts, PublicKey feePayer, Func<byte[], PublicKey, byte[]> signingCallback, PublicKey programId)
{
Solana.Unity.Rpc.Models.TransactionInstruction instr = Program.WhirlpoolProgram.SetFeeAuthority(accounts, programId);
return await SignAndSendTransaction(instr, feePayer, signingCallback);
}
public async Task<RequestResult<string>> SendSetCollectProtocolFeesAuthorityAsync(SetCollectProtocolFeesAuthorityAccounts accounts, PublicKey feePayer, Func<byte[], PublicKey, byte[]> signingCallback, PublicKey programId)
{
Solana.Unity.Rpc.Models.TransactionInstruction instr = Program.WhirlpoolProgram.SetCollectProtocolFeesAuthority(accounts, programId);
return await SignAndSendTransaction(instr, feePayer, signingCallback);
}
public async Task<RequestResult<string>> SendSetRewardAuthorityAsync(SetRewardAuthorityAccounts accounts, byte rewardIndex, PublicKey feePayer, Func<byte[], PublicKey, byte[]> signingCallback, PublicKey programId)
{
Solana.Unity.Rpc.Models.TransactionInstruction instr = Program.WhirlpoolProgram.SetRewardAuthority(accounts, rewardIndex, programId);
return await SignAndSendTransaction(instr, feePayer, signingCallback);
}
public async Task<RequestResult<string>> SendSetRewardAuthorityBySuperAuthorityAsync(SetRewardAuthorityBySuperAuthorityAccounts accounts, byte rewardIndex, PublicKey feePayer, Func<byte[], PublicKey, byte[]> signingCallback, PublicKey programId)
{
Solana.Unity.Rpc.Models.TransactionInstruction instr = Program.WhirlpoolProgram.SetRewardAuthorityBySuperAuthority(accounts, rewardIndex, programId);
return await SignAndSendTransaction(instr, feePayer, signingCallback);
}
public async Task<RequestResult<string>> SendSetRewardEmissionsSuperAuthorityAsync(SetRewardEmissionsSuperAuthorityAccounts accounts, PublicKey feePayer, Func<byte[], PublicKey, byte[]> signingCallback, PublicKey programId)
{
Solana.Unity.Rpc.Models.TransactionInstruction instr = Program.WhirlpoolProgram.SetRewardEmissionsSuperAuthority(accounts, programId);
return await SignAndSendTransaction(instr, feePayer, signingCallback);
}
protected override Dictionary<uint, ProgramError<WhirlpoolErrorKind>> BuildErrorsDictionary()
{
return new Dictionary<uint, ProgramError<WhirlpoolErrorKind>>{{6000U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.InvalidEnum, "Enum value could not be converted")}, {6001U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.InvalidStartTick, "Invalid start tick index provided.")}, {6002U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.TickArrayExistInPool, "Tick-array already exists in this whirlpool")}, {6003U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.TickArrayIndexOutofBounds, "Attempt to search for a tick-array failed")}, {6004U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.InvalidTickSpacing, "Tick-spacing is not supported")}, {6005U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.ClosePositionNotEmpty, "Position is not empty It cannot be closed")}, {6006U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.DivideByZero, "Unable to divide by zero")}, {6007U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.NumberCastError, "Unable to cast number into BigInt")}, {6008U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.NumberDownCastError, "Unable to down cast number")}, {6009U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.TickNotFound, "Tick not found within tick array")}, {6010U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.InvalidTickIndex, "Provided tick index is either out of bounds or uninitializable")}, {6011U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.SqrtPriceOutOfBounds, "Provided sqrt price out of bounds")}, {6012U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.LiquidityZero, "Liquidity amount must be greater than zero")}, {6013U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.LiquidityTooHigh, "Liquidity amount must be less than i64::MAX")}, {6014U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.LiquidityOverflow, "Liquidity overflow")}, {6015U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.LiquidityUnderflow, "Liquidity underflow")}, {6016U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.LiquidityNetError, "Tick liquidity net underflowed or overflowed")}, {6017U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.TokenMaxExceeded, "Exceeded token max")}, {6018U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.TokenMinSubceeded, "Did not meet token min")}, {6019U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.MissingOrInvalidDelegate, "Position token account has a missing or invalid delegate")}, {6020U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.InvalidPositionTokenAmount, "Position token amount must be 1")}, {6021U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.InvalidTimestampConversion, "Timestamp should be convertible from i64 to u64")}, {6022U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.InvalidTimestamp, "Timestamp should be greater than the last updated timestamp")}, {6023U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.InvalidTickArraySequence, "Invalid tick array sequence provided for instruction.")}, {6024U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.InvalidTokenMintOrder, "Token Mint in wrong order")}, {6025U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.RewardNotInitialized, "Reward not initialized")}, {6026U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.InvalidRewardIndex, "Invalid reward index")}, {6027U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.RewardVaultAmountInsufficient, "Reward vault requires amount to support emissions for at least one day")}, {6028U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.FeeRateMaxExceeded, "Exceeded max fee rate")}, {6029U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.ProtocolFeeRateMaxExceeded, "Exceeded max protocol fee rate")}, {6030U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.MultiplicationShiftRightOverflow, "Multiplication with shift right overflow")}, {6031U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.MulDivOverflow, "Muldiv overflow")}, {6032U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.MulDivInvalidInput, "Invalid div_u256 input")}, {6033U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.MultiplicationOverflow, "Multiplication overflow")}, {6034U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.InvalidSqrtPriceLimitDirection, "Provided SqrtPriceLimit not in the same direction as the swap.")}, {6035U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.ZeroTradableAmount, "There are no tradable amount to swap.")}, {6036U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.AmountOutBelowMinimum, "Amount out below minimum threshold")}, {6037U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.AmountInAboveMaximum, "Amount in above maximum threshold")}, {6038U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.TickArraySequenceInvalidIndex, "Invalid index for tick array sequence")}, {6039U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.AmountCalcOverflow, "Amount calculated overflows")}, {6040U, new ProgramError<WhirlpoolErrorKind>(WhirlpoolErrorKind.AmountRemainingOverflow, "Amount remaining overflows")}, };
}
}
namespace Program
{
public class InitializeConfigAccounts
{
public PublicKey Config { get; set; }
public PublicKey Funder { get; set; }
public PublicKey SystemProgram { get; set; }
}
public class InitializePoolAccounts
{
public PublicKey WhirlpoolsConfig { get; set; }
public PublicKey TokenMintA { get; set; }
public PublicKey TokenMintB { get; set; }
public PublicKey Funder { get; set; }
public PublicKey Whirlpool { get; set; }
public PublicKey TokenVaultA { get; set; }
public PublicKey TokenVaultB { get; set; }
public PublicKey FeeTier { get; set; }
public PublicKey TokenProgram { get; set; }
public PublicKey SystemProgram { get; set; }
public PublicKey Rent { get; set; }
}
public class InitializeTickArrayAccounts
{
public PublicKey Whirlpool { get; set; }
public PublicKey Funder { get; set; }
public PublicKey TickArray { get; set; }
public PublicKey SystemProgram { get; set; }
}
public class InitializeFeeTierAccounts
{
public PublicKey Config { get; set; }
public PublicKey FeeTier { get; set; }
public PublicKey Funder { get; set; }
public PublicKey FeeAuthority { get; set; }
public PublicKey SystemProgram { get; set; }
}
public class InitializeRewardAccounts
{
public PublicKey RewardAuthority { get; set; }
public PublicKey Funder { get; set; }
public PublicKey Whirlpool { get; set; }
public PublicKey RewardMint { get; set; }
public PublicKey RewardVault { get; set; }
public PublicKey TokenProgram { get; set; }
public PublicKey SystemProgram { get; set; }
public PublicKey Rent { get; set; }
}
public class SetRewardEmissionsAccounts
{
public PublicKey Whirlpool { get; set; }
public PublicKey RewardAuthority { get; set; }
public PublicKey RewardVault { get; set; }
}
public class OpenPositionAccounts
{
public PublicKey Funder { get; set; }
public PublicKey Owner { get; set; }
public PublicKey Position { get; set; }
public PublicKey PositionMint { get; set; }
public PublicKey PositionTokenAccount { get; set; }
public PublicKey Whirlpool { get; set; }
public PublicKey TokenProgram { get; set; }
public PublicKey SystemProgram { get; set; }
public PublicKey Rent { get; set; }
public PublicKey AssociatedTokenProgram { get; set; }
}
public class OpenPositionWithMetadataAccounts
{
public PublicKey Funder { get; set; }
public PublicKey Owner { get; set; }
public PublicKey Position { get; set; }
public PublicKey PositionMint { get; set; }
public PublicKey PositionMetadataAccount { get; set; }
public PublicKey PositionTokenAccount { get; set; }
public PublicKey Whirlpool { get; set; }
public PublicKey TokenProgram { get; set; }
public PublicKey SystemProgram { get; set; }
public PublicKey Rent { get; set; }
public PublicKey AssociatedTokenProgram { get; set; }
public PublicKey MetadataProgram { get; set; }
public PublicKey MetadataUpdateAuth { get; set; }
}
public class IncreaseLiquidityAccounts
{
public PublicKey Whirlpool { get; set; }
public PublicKey TokenProgram { get; set; }
public PublicKey PositionAuthority { get; set; }
public PublicKey Position { get; set; }
public PublicKey PositionTokenAccount { get; set; }
public PublicKey TokenOwnerAccountA { get; set; }
public PublicKey TokenOwnerAccountB { get; set; }
public PublicKey TokenVaultA { get; set; }
public PublicKey TokenVaultB { get; set; }
public PublicKey TickArrayLower { get; set; }
public PublicKey TickArrayUpper { get; set; }
}
public class DecreaseLiquidityAccounts
{
public PublicKey Whirlpool { get; set; }
public PublicKey TokenProgram { get; set; }
public PublicKey PositionAuthority { get; set; }
public PublicKey Position { get; set; }
public PublicKey PositionTokenAccount { get; set; }
public PublicKey TokenOwnerAccountA { get; set; }
public PublicKey TokenOwnerAccountB { get; set; }
public PublicKey TokenVaultA { get; set; }
public PublicKey TokenVaultB { get; set; }
public PublicKey TickArrayLower { get; set; }
public PublicKey TickArrayUpper { get; set; }
}
public class UpdateFeesAndRewardsAccounts
{
public PublicKey Whirlpool { get; set; }
public PublicKey Position { get; set; }
public PublicKey TickArrayLower { get; set; }
public PublicKey TickArrayUpper { get; set; }
}
public class CollectFeesAccounts
{
public PublicKey Whirlpool { get; set; }
public PublicKey PositionAuthority { get; set; }
public PublicKey Position { get; set; }
public PublicKey PositionTokenAccount { get; set; }
public PublicKey TokenOwnerAccountA { get; set; }
public PublicKey TokenVaultA { get; set; }
public PublicKey TokenOwnerAccountB { get; set; }
public PublicKey TokenVaultB { get; set; }
public PublicKey TokenProgram { get; set; }
}
public class CollectRewardAccounts
{
public PublicKey Whirlpool { get; set; }
public PublicKey PositionAuthority { get; set; }
public PublicKey Position { get; set; }
public PublicKey PositionTokenAccount { get; set; }
public PublicKey RewardOwnerAccount { get; set; }
public PublicKey RewardVault { get; set; }
public PublicKey TokenProgram { get; set; }
}
public class CollectProtocolFeesAccounts
{
public PublicKey WhirlpoolsConfig { get; set; }
public PublicKey Whirlpool { get; set; }
public PublicKey CollectProtocolFeesAuthority { get; set; }
public PublicKey TokenVaultA { get; set; }
public PublicKey TokenVaultB { get; set; }
public PublicKey TokenDestinationA { get; set; }
public PublicKey TokenDestinationB { get; set; }
public PublicKey TokenProgram { get; set; }
}
public class SwapAccounts
{
public PublicKey TokenProgram { get; set; }
public PublicKey TokenAuthority { get; set; }
public PublicKey Whirlpool { get; set; }
public PublicKey TokenOwnerAccountA { get; set; }
public PublicKey TokenVaultA { get; set; }
public PublicKey TokenOwnerAccountB { get; set; }
public PublicKey TokenVaultB { get; set; }
public PublicKey TickArray0 { get; set; }
public PublicKey TickArray1 { get; set; }
public PublicKey TickArray2 { get; set; }
public PublicKey Oracle { get; set; }
}
public class ClosePositionAccounts
{
public PublicKey PositionAuthority { get; set; }
public PublicKey Receiver { get; set; }
public PublicKey Position { get; set; }
public PublicKey PositionMint { get; set; }
public PublicKey PositionTokenAccount { get; set; }
public PublicKey TokenProgram { get; set; }
}
public class SetDefaultFeeRateAccounts
{
public PublicKey WhirlpoolsConfig { get; set; }
public PublicKey FeeTier { get; set; }
public PublicKey FeeAuthority { get; set; }
}
public class SetDefaultProtocolFeeRateAccounts
{
public PublicKey WhirlpoolsConfig { get; set; }
public PublicKey FeeAuthority { get; set; }
}
public class SetFeeRateAccounts
{
public PublicKey WhirlpoolsConfig { get; set; }
public PublicKey Whirlpool { get; set; }
public PublicKey FeeAuthority { get; set; }
}
public class SetProtocolFeeRateAccounts
{
public PublicKey WhirlpoolsConfig { get; set; }
public PublicKey Whirlpool { get; set; }
public PublicKey FeeAuthority { get; set; }
}
public class SetFeeAuthorityAccounts
{
public PublicKey WhirlpoolsConfig { get; set; }
public PublicKey FeeAuthority { get; set; }
public PublicKey NewFeeAuthority { get; set; }
}
public class SetCollectProtocolFeesAuthorityAccounts
{
public PublicKey WhirlpoolsConfig { get; set; }
public PublicKey CollectProtocolFeesAuthority { get; set; }
public PublicKey NewCollectProtocolFeesAuthority { get; set; }
}
public class SetRewardAuthorityAccounts
{
public PublicKey Whirlpool { get; set; }
public PublicKey RewardAuthority { get; set; }
public PublicKey NewRewardAuthority { get; set; }
}
public class SetRewardAuthorityBySuperAuthorityAccounts
{
public PublicKey WhirlpoolsConfig { get; set; }
public PublicKey Whirlpool { get; set; }
public PublicKey RewardEmissionsSuperAuthority { get; set; }
public PublicKey NewRewardAuthority { get; set; }
}
public class SetRewardEmissionsSuperAuthorityAccounts
{
public PublicKey WhirlpoolsConfig { get; set; }
public PublicKey RewardEmissionsSuperAuthority { get; set; }
public PublicKey NewRewardEmissionsSuperAuthority { get; set; }
}
public static class WhirlpoolProgram
{
public static Solana.Unity.Rpc.Models.TransactionInstruction InitializeConfig(InitializeConfigAccounts accounts, PublicKey feeAuthority, PublicKey collectProtocolFeesAuthority, PublicKey rewardEmissionsSuperAuthority, ushort defaultProtocolFeeRate, PublicKey programId)
{
List<Solana.Unity.Rpc.Models.AccountMeta> keys = new()
{Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.Config, true), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.Funder, true), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.SystemProgram, false)};
byte[] _data = new byte[1200];
int offset = 0;
_data.WriteU64(5099410418541363152UL, offset);
offset += 8;
_data.WritePubKey(feeAuthority, offset);
offset += 32;
_data.WritePubKey(collectProtocolFeesAuthority, offset);
offset += 32;
_data.WritePubKey(rewardEmissionsSuperAuthority, offset);
offset += 32;
_data.WriteU16(defaultProtocolFeeRate, offset);
offset += 2;
byte[] resultData = new byte[offset];
Array.Copy(_data, resultData, offset);
return new Solana.Unity.Rpc.Models.TransactionInstruction{Keys = keys, ProgramId = programId.KeyBytes, Data = resultData};
}
public static Solana.Unity.Rpc.Models.TransactionInstruction InitializePool(InitializePoolAccounts accounts, WhirlpoolBumps bumps, ushort tickSpacing, BigInteger initialSqrtPrice, PublicKey programId)
{
List<Solana.Unity.Rpc.Models.AccountMeta> keys = new()
{Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.WhirlpoolsConfig, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.TokenMintA, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.TokenMintB, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.Funder, true), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.Whirlpool, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.TokenVaultA, true), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.TokenVaultB, true), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.FeeTier, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.TokenProgram, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.SystemProgram, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.Rent, false)};
byte[] _data = new byte[1200];
int offset = 0;
_data.WriteU64(2947797634800858207UL, offset);
offset += 8;
offset += bumps.Serialize(_data, offset);
_data.WriteU16(tickSpacing, offset);
offset += 2;
_data.WriteBigInt(initialSqrtPrice, offset, 16, true);
offset += 16;
byte[] resultData = new byte[offset];
Array.Copy(_data, resultData, offset);
return new Solana.Unity.Rpc.Models.TransactionInstruction{Keys = keys, ProgramId = programId.KeyBytes, Data = resultData};
}
public static Solana.Unity.Rpc.Models.TransactionInstruction InitializeTickArray(InitializeTickArrayAccounts accounts, int startTickIndex, PublicKey programId)
{
List<Solana.Unity.Rpc.Models.AccountMeta> keys = new()
{Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.Whirlpool, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.Funder, true), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.TickArray, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.SystemProgram, false)};
byte[] _data = new byte[1200];
int offset = 0;
_data.WriteU64(13300637739260165131UL, offset);
offset += 8;
_data.WriteS32(startTickIndex, offset);
offset += 4;
byte[] resultData = new byte[offset];
Array.Copy(_data, resultData, offset);
return new Solana.Unity.Rpc.Models.TransactionInstruction{Keys = keys, ProgramId = programId.KeyBytes, Data = resultData};
}
public static Solana.Unity.Rpc.Models.TransactionInstruction InitializeFeeTier(InitializeFeeTierAccounts accounts, ushort tickSpacing, ushort defaultFeeRate, PublicKey programId)
{
List<Solana.Unity.Rpc.Models.AccountMeta> keys = new()
{Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.Config, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.FeeTier, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.Funder, true), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.FeeAuthority, true), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.SystemProgram, false)};
byte[] _data = new byte[1200];
int offset = 0;
_data.WriteU64(2173552452913875639UL, offset);
offset += 8;
_data.WriteU16(tickSpacing, offset);
offset += 2;
_data.WriteU16(defaultFeeRate, offset);
offset += 2;
byte[] resultData = new byte[offset];
Array.Copy(_data, resultData, offset);
return new Solana.Unity.Rpc.Models.TransactionInstruction{Keys = keys, ProgramId = programId.KeyBytes, Data = resultData};
}
public static Solana.Unity.Rpc.Models.TransactionInstruction InitializeReward(InitializeRewardAccounts accounts, byte rewardIndex, PublicKey programId)
{
List<Solana.Unity.Rpc.Models.AccountMeta> keys = new()
{Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.RewardAuthority, true), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.Funder, true), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.Whirlpool, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.RewardMint, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.RewardVault, true), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.TokenProgram, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.SystemProgram, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.Rent, false)};
byte[] _data = new byte[1200];
int offset = 0;
_data.WriteU64(4964798518905571167UL, offset);
offset += 8;
_data.WriteU8(rewardIndex, offset);
offset += 1;
byte[] resultData = new byte[offset];
Array.Copy(_data, resultData, offset);
return new Solana.Unity.Rpc.Models.TransactionInstruction{Keys = keys, ProgramId = programId.KeyBytes, Data = resultData};
}
public static Solana.Unity.Rpc.Models.TransactionInstruction SetRewardEmissions(SetRewardEmissionsAccounts accounts, byte rewardIndex, BigInteger emissionsPerSecondX64, PublicKey programId)
{
List<Solana.Unity.Rpc.Models.AccountMeta> keys = new()
{Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.Whirlpool, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.RewardAuthority, true), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.RewardVault, false)};
byte[] _data = new byte[1200];
int offset = 0;
_data.WriteU64(17589846754647786765UL, offset);
offset += 8;
_data.WriteU8(rewardIndex, offset);
offset += 1;
_data.WriteBigInt(emissionsPerSecondX64, offset, 16, true);
offset += 16;
byte[] resultData = new byte[offset];
Array.Copy(_data, resultData, offset);
return new Solana.Unity.Rpc.Models.TransactionInstruction{Keys = keys, ProgramId = programId.KeyBytes, Data = resultData};
}
public static Solana.Unity.Rpc.Models.TransactionInstruction OpenPosition(OpenPositionAccounts accounts, OpenPositionBumps bumps, int tickLowerIndex, int tickUpperIndex, PublicKey programId)
{
List<Solana.Unity.Rpc.Models.AccountMeta> keys = new()
{Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.Funder, true), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.Owner, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.Position, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.PositionMint, true), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.PositionTokenAccount, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.Whirlpool, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.TokenProgram, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.SystemProgram, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.Rent, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.AssociatedTokenProgram, false)};
byte[] _data = new byte[1200];
int offset = 0;
_data.WriteU64(3598543293755916423UL, offset);
offset += 8;
offset += bumps.Serialize(_data, offset);
_data.WriteS32(tickLowerIndex, offset);
offset += 4;
_data.WriteS32(tickUpperIndex, offset);
offset += 4;
byte[] resultData = new byte[offset];
Array.Copy(_data, resultData, offset);
return new Solana.Unity.Rpc.Models.TransactionInstruction{Keys = keys, ProgramId = programId.KeyBytes, Data = resultData};
}
public static Solana.Unity.Rpc.Models.TransactionInstruction OpenPositionWithMetadata(OpenPositionWithMetadataAccounts accounts, OpenPositionWithMetadataBumps bumps, int tickLowerIndex, int tickUpperIndex, PublicKey programId)
{
List<Solana.Unity.Rpc.Models.AccountMeta> keys = new()
{Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.Funder, true), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.Owner, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.Position, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.PositionMint, true), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.PositionMetadataAccount, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.PositionTokenAccount, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.Whirlpool, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.TokenProgram, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.SystemProgram, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.Rent, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.AssociatedTokenProgram, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.MetadataProgram, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.MetadataUpdateAuth, false)};
byte[] _data = new byte[1200];
int offset = 0;
_data.WriteU64(4327517488150879730UL, offset);
offset += 8;
offset += bumps.Serialize(_data, offset);
_data.WriteS32(tickLowerIndex, offset);
offset += 4;
_data.WriteS32(tickUpperIndex, offset);
offset += 4;
byte[] resultData = new byte[offset];
Array.Copy(_data, resultData, offset);
return new Solana.Unity.Rpc.Models.TransactionInstruction{Keys = keys, ProgramId = programId.KeyBytes, Data = resultData};
}
public static Solana.Unity.Rpc.Models.TransactionInstruction IncreaseLiquidity(IncreaseLiquidityAccounts accounts, BigInteger liquidityAmount, ulong tokenMaxA, ulong tokenMaxB, PublicKey programId)
{
List<Solana.Unity.Rpc.Models.AccountMeta> keys = new()
{Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.Whirlpool, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.TokenProgram, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.PositionAuthority, true), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.Position, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.PositionTokenAccount, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.TokenOwnerAccountA, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.TokenOwnerAccountB, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.TokenVaultA, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.TokenVaultB, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.TickArrayLower, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.TickArrayUpper, false)};
byte[] _data = new byte[1200];
int offset = 0;
_data.WriteU64(12897127415619492910UL, offset);
offset += 8;
_data.WriteBigInt(liquidityAmount, offset, 16, true);
offset += 16;
_data.WriteU64(tokenMaxA, offset);
offset += 8;
_data.WriteU64(tokenMaxB, offset);
offset += 8;
byte[] resultData = new byte[offset];
Array.Copy(_data, resultData, offset);
return new Solana.Unity.Rpc.Models.TransactionInstruction{Keys = keys, ProgramId = programId.KeyBytes, Data = resultData};
}
public static Solana.Unity.Rpc.Models.TransactionInstruction DecreaseLiquidity(DecreaseLiquidityAccounts accounts, BigInteger liquidityAmount, ulong tokenMinA, ulong tokenMinB, PublicKey programId)
{
List<Solana.Unity.Rpc.Models.AccountMeta> keys = new()
{Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.Whirlpool, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.TokenProgram, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.PositionAuthority, true), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.Position, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.PositionTokenAccount, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.TokenOwnerAccountA, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.TokenOwnerAccountB, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.TokenVaultA, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.TokenVaultB, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.TickArrayLower, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.TickArrayUpper, false)};
byte[] _data = new byte[1200];
int offset = 0;
_data.WriteU64(84542997123835552UL, offset);
offset += 8;
_data.WriteBigInt(liquidityAmount, offset, 16, true);
offset += 16;
_data.WriteU64(tokenMinA, offset);
offset += 8;
_data.WriteU64(tokenMinB, offset);
offset += 8;
byte[] resultData = new byte[offset];
Array.Copy(_data, resultData, offset);
return new Solana.Unity.Rpc.Models.TransactionInstruction{Keys = keys, ProgramId = programId.KeyBytes, Data = resultData};
}
public static Solana.Unity.Rpc.Models.TransactionInstruction UpdateFeesAndRewards(UpdateFeesAndRewardsAccounts accounts, PublicKey programId)
{
List<Solana.Unity.Rpc.Models.AccountMeta> keys = new()
{Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.Whirlpool, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.Position, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.TickArrayLower, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.TickArrayUpper, false)};
byte[] _data = new byte[1200];
int offset = 0;
_data.WriteU64(16090184905488262810UL, offset);
offset += 8;
byte[] resultData = new byte[offset];
Array.Copy(_data, resultData, offset);
return new Solana.Unity.Rpc.Models.TransactionInstruction{Keys = keys, ProgramId = programId.KeyBytes, Data = resultData};
}
public static Solana.Unity.Rpc.Models.TransactionInstruction CollectFees(CollectFeesAccounts accounts, PublicKey programId)
{
List<Solana.Unity.Rpc.Models.AccountMeta> keys = new()
{Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.Whirlpool, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.PositionAuthority, true), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.Position, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.PositionTokenAccount, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.TokenOwnerAccountA, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.TokenVaultA, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.TokenOwnerAccountB, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.TokenVaultB, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.TokenProgram, false)};
byte[] _data = new byte[1200];
int offset = 0;
_data.WriteU64(13120034779146721444UL, offset);
offset += 8;
byte[] resultData = new byte[offset];
Array.Copy(_data, resultData, offset);
return new Solana.Unity.Rpc.Models.TransactionInstruction{Keys = keys, ProgramId = programId.KeyBytes, Data = resultData};
}
public static Solana.Unity.Rpc.Models.TransactionInstruction CollectReward(CollectRewardAccounts accounts, byte rewardIndex, PublicKey programId)
{
List<Solana.Unity.Rpc.Models.AccountMeta> keys = new()
{Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.Whirlpool, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.PositionAuthority, true), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.Position, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.PositionTokenAccount, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.RewardOwnerAccount, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.RewardVault, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.TokenProgram, false)};
byte[] _data = new byte[1200];
int offset = 0;
_data.WriteU64(2500038024235320646UL, offset);
offset += 8;
_data.WriteU8(rewardIndex, offset);
offset += 1;
byte[] resultData = new byte[offset];
Array.Copy(_data, resultData, offset);
return new Solana.Unity.Rpc.Models.TransactionInstruction{Keys = keys, ProgramId = programId.KeyBytes, Data = resultData};
}
public static Solana.Unity.Rpc.Models.TransactionInstruction CollectProtocolFees(CollectProtocolFeesAccounts accounts, PublicKey programId)
{
List<Solana.Unity.Rpc.Models.AccountMeta> keys = new()
{Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.WhirlpoolsConfig, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.Whirlpool, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.CollectProtocolFeesAuthority, true), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.TokenVaultA, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.TokenVaultB, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.TokenDestinationA, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.TokenDestinationB, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.TokenProgram, false)};
byte[] _data = new byte[1200];
int offset = 0;
_data.WriteU64(15872570295674422038UL, offset);
offset += 8;
byte[] resultData = new byte[offset];
Array.Copy(_data, resultData, offset);
return new Solana.Unity.Rpc.Models.TransactionInstruction{Keys = keys, ProgramId = programId.KeyBytes, Data = resultData};
}
public static Solana.Unity.Rpc.Models.TransactionInstruction Swap(SwapAccounts accounts, ulong amount, ulong otherAmountThreshold, BigInteger sqrtPriceLimit, bool amountSpecifiedIsInput, bool aToB, PublicKey programId)
{
List<Solana.Unity.Rpc.Models.AccountMeta> keys = new()
{Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.TokenProgram, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.TokenAuthority, true), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.Whirlpool, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.TokenOwnerAccountA, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.TokenVaultA, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.TokenOwnerAccountB, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.TokenVaultB, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.TickArray0, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.TickArray1, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.TickArray2, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.Oracle, false)};
byte[] _data = new byte[1200];
int offset = 0;
_data.WriteU64(14449647541112719096UL, offset);
offset += 8;
_data.WriteU64(amount, offset);
offset += 8;
_data.WriteU64(otherAmountThreshold, offset);
offset += 8;
_data.WriteBigInt(sqrtPriceLimit, offset, 16, true);
offset += 16;
_data.WriteBool(amountSpecifiedIsInput, offset);
offset += 1;
_data.WriteBool(aToB, offset);
offset += 1;
byte[] resultData = new byte[offset];
Array.Copy(_data, resultData, offset);
return new Solana.Unity.Rpc.Models.TransactionInstruction{Keys = keys, ProgramId = programId.KeyBytes, Data = resultData};
}
public static Solana.Unity.Rpc.Models.TransactionInstruction ClosePosition(ClosePositionAccounts accounts, PublicKey programId)
{
List<Solana.Unity.Rpc.Models.AccountMeta> keys = new()
{Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.PositionAuthority, true), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.Receiver, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.Position, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.PositionMint, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.PositionTokenAccount, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.TokenProgram, false)};
byte[] _data = new byte[1200];
int offset = 0;
_data.WriteU64(7089303740684011131UL, offset);
offset += 8;
byte[] resultData = new byte[offset];
Array.Copy(_data, resultData, offset);
return new Solana.Unity.Rpc.Models.TransactionInstruction{Keys = keys, ProgramId = programId.KeyBytes, Data = resultData};
}
public static Solana.Unity.Rpc.Models.TransactionInstruction SetDefaultFeeRate(SetDefaultFeeRateAccounts accounts, ushort defaultFeeRate, PublicKey programId)
{
List<Solana.Unity.Rpc.Models.AccountMeta> keys = new()
{Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.WhirlpoolsConfig, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.FeeTier, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.FeeAuthority, true)};
byte[] _data = new byte[1200];
int offset = 0;
_data.WriteU64(16487930808298297206UL, offset);
offset += 8;
_data.WriteU16(defaultFeeRate, offset);
offset += 2;
byte[] resultData = new byte[offset];
Array.Copy(_data, resultData, offset);
return new Solana.Unity.Rpc.Models.TransactionInstruction{Keys = keys, ProgramId = programId.KeyBytes, Data = resultData};
}
public static Solana.Unity.Rpc.Models.TransactionInstruction SetDefaultProtocolFeeRate(SetDefaultProtocolFeeRateAccounts accounts, ushort defaultProtocolFeeRate, PublicKey programId)
{
List<Solana.Unity.Rpc.Models.AccountMeta> keys = new()
{Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.WhirlpoolsConfig, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.FeeAuthority, true)};
byte[] _data = new byte[1200];
int offset = 0;
_data.WriteU64(24245983252172139UL, offset);
offset += 8;
_data.WriteU16(defaultProtocolFeeRate, offset);
offset += 2;
byte[] resultData = new byte[offset];
Array.Copy(_data, resultData, offset);
return new Solana.Unity.Rpc.Models.TransactionInstruction{Keys = keys, ProgramId = programId.KeyBytes, Data = resultData};
}
public static Solana.Unity.Rpc.Models.TransactionInstruction SetFeeRate(SetFeeRateAccounts accounts, ushort feeRate, PublicKey programId)
{
List<Solana.Unity.Rpc.Models.AccountMeta> keys = new()
{Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.WhirlpoolsConfig, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.Whirlpool, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.FeeAuthority, true)};
byte[] _data = new byte[1200];
int offset = 0;
_data.WriteU64(476972577635038005UL, offset);
offset += 8;
_data.WriteU16(feeRate, offset);
offset += 2;
byte[] resultData = new byte[offset];
Array.Copy(_data, resultData, offset);
return new Solana.Unity.Rpc.Models.TransactionInstruction{Keys = keys, ProgramId = programId.KeyBytes, Data = resultData};
}
public static Solana.Unity.Rpc.Models.TransactionInstruction SetProtocolFeeRate(SetProtocolFeeRateAccounts accounts, ushort protocolFeeRate, PublicKey programId)
{
List<Solana.Unity.Rpc.Models.AccountMeta> keys = new()
{Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.WhirlpoolsConfig, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.Whirlpool, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.FeeAuthority, true)};
byte[] _data = new byte[1200];
int offset = 0;
_data.WriteU64(9483542439018104671UL, offset);
offset += 8;
_data.WriteU16(protocolFeeRate, offset);
offset += 2;
byte[] resultData = new byte[offset];
Array.Copy(_data, resultData, offset);
return new Solana.Unity.Rpc.Models.TransactionInstruction{Keys = keys, ProgramId = programId.KeyBytes, Data = resultData};
}
public static Solana.Unity.Rpc.Models.TransactionInstruction SetFeeAuthority(SetFeeAuthorityAccounts accounts, PublicKey programId)
{
List<Solana.Unity.Rpc.Models.AccountMeta> keys = new()
{Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.WhirlpoolsConfig, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.FeeAuthority, true), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.NewFeeAuthority, false)};
byte[] _data = new byte[1200];
int offset = 0;
_data.WriteU64(9539017555791970591UL, offset);
offset += 8;
byte[] resultData = new byte[offset];
Array.Copy(_data, resultData, offset);
return new Solana.Unity.Rpc.Models.TransactionInstruction{Keys = keys, ProgramId = programId.KeyBytes, Data = resultData};
}
public static Solana.Unity.Rpc.Models.TransactionInstruction SetCollectProtocolFeesAuthority(SetCollectProtocolFeesAuthorityAccounts accounts, PublicKey programId)
{
List<Solana.Unity.Rpc.Models.AccountMeta> keys = new()
{Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.WhirlpoolsConfig, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.CollectProtocolFeesAuthority, true), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.NewCollectProtocolFeesAuthority, false)};
byte[] _data = new byte[1200];
int offset = 0;
_data.WriteU64(4893690461331232290UL, offset);
offset += 8;
byte[] resultData = new byte[offset];
Array.Copy(_data, resultData, offset);
return new Solana.Unity.Rpc.Models.TransactionInstruction{Keys = keys, ProgramId = programId.KeyBytes, Data = resultData};
}
public static Solana.Unity.Rpc.Models.TransactionInstruction SetRewardAuthority(SetRewardAuthorityAccounts accounts, byte rewardIndex, PublicKey programId)
{
List<Solana.Unity.Rpc.Models.AccountMeta> keys = new()
{Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.Whirlpool, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.RewardAuthority, true), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.NewRewardAuthority, false)};
byte[] _data = new byte[1200];
int offset = 0;
_data.WriteU64(9175270962884978466UL, offset);
offset += 8;
_data.WriteU8(rewardIndex, offset);
offset += 1;
byte[] resultData = new byte[offset];
Array.Copy(_data, resultData, offset);
return new Solana.Unity.Rpc.Models.TransactionInstruction{Keys = keys, ProgramId = programId.KeyBytes, Data = resultData};
}
public static Solana.Unity.Rpc.Models.TransactionInstruction SetRewardAuthorityBySuperAuthority(SetRewardAuthorityBySuperAuthorityAccounts accounts, byte rewardIndex, PublicKey programId)
{
List<Solana.Unity.Rpc.Models.AccountMeta> keys = new()
{Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.WhirlpoolsConfig, false), Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.Whirlpool, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.RewardEmissionsSuperAuthority, true), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.NewRewardAuthority, false)};
byte[] _data = new byte[1200];
int offset = 0;
_data.WriteU64(1817305343215639280UL, offset);
offset += 8;
_data.WriteU8(rewardIndex, offset);
offset += 1;
byte[] resultData = new byte[offset];
Array.Copy(_data, resultData, offset);
return new Solana.Unity.Rpc.Models.TransactionInstruction{Keys = keys, ProgramId = programId.KeyBytes, Data = resultData};
}
public static Solana.Unity.Rpc.Models.TransactionInstruction SetRewardEmissionsSuperAuthority(SetRewardEmissionsSuperAuthorityAccounts accounts, PublicKey programId)
{
List<Solana.Unity.Rpc.Models.AccountMeta> keys = new()
{Solana.Unity.Rpc.Models.AccountMeta.Writable(accounts.WhirlpoolsConfig, false), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.RewardEmissionsSuperAuthority, true), Solana.Unity.Rpc.Models.AccountMeta.ReadOnly(accounts.NewRewardEmissionsSuperAuthority, false)};
byte[] _data = new byte[1200];
int offset = 0;
_data.WriteU64(13209682757187798479UL, offset);
offset += 8;
byte[] resultData = new byte[offset];
Array.Copy(_data, resultData, offset);
return new Solana.Unity.Rpc.Models.TransactionInstruction{Keys = keys, ProgramId = programId.KeyBytes, Data = resultData};
}
}
}
}
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca/OrcaWhirlPool/DecimalUtils.cs
|
using System;
namespace SolPlay.DeeplinksNftExample.Scripts.OrcaWhirlPool
{
public class DecimalUtils
{
/* public static FromU64(UInt64 input, int shift)
{
return new Decim
}
public static fromU64(input: u64, shift = 0): Decimal {
return new Decimal(input.toString()).div(new Decimal(10).pow(shift));
}
public static toU64(input: Decimal, shift = 0): u64 {
if (input.isNeg()) {
throw new Error("Negative decimal value ${input} cannot be converted to u64.");
}
const shiftedValue = input.mul(new Decimal(10).pow(shift));
const zeroDecimalValue = shiftedValue.trunc();
return new u64(zeroDecimalValue.toString());
}
*/
}
}
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca/OrcaWhirlPool/OrcaSwapPopup.cs
|
using System;
using System.Numerics;
using Frictionless;
using SolPlay.DeeplinksNftExample.Scripts;
using SolPlay.Orca.OrcaWhirlPool;
using SolPlay.Scripts.Services;
using SolPlay.Scripts.Ui;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class OrcaSwapPopup : BasePopup
{
public TMP_InputField TokenInputA;
public TMP_InputField TokenInputB;
public TMP_InputField AmountInput;
public TextMeshProUGUI TokenSymbolA;
public TextMeshProUGUI TokenSymbolB;
public Image IconA;
public Image IconB;
public Button SwapButton;
public Button SwapAAndBButton;
public float DefaultSwapValue = 0.1f;
private bool AToB = true;
private PoolData currentPoolData;
private void Awake()
{
ServiceFactory.RegisterSingleton(this);
SwapButton.onClick.AddListener(OnSwapButtonClicked);
SwapAAndBButton.onClick.AddListener(OnSwapAAndBButtonClicked);
base.Awake();
TokenInputA.onValueChanged.AddListener(OnInputValueChanged);
TokenInputA.text = TokenInputB.text = DefaultSwapValue.ToString();
}
private void OnInputValueChanged(string newValue)
{
if (!float.TryParse(AmountInput.text, out float value))
{
LoggingService
.LogWarning($"Wrong input value {value} {currentPoolData.SymbolA} to {currentPoolData.SymbolB}", true);
return;
}
UpdateContent();
}
public void Open(PoolData poolData)
{
Open(new UiService.UiData());
currentPoolData = poolData;
AToB = true;
TokenInputA.text = DefaultSwapValue.ToString();
UpdateContent();
}
private void UpdateContent()
{
if (currentPoolData == null)
{
return;
}
if (!float.TryParse(AmountInput.text, out float value))
{
LoggingService
.LogWarning($"Wrong input value {value} {currentPoolData.SymbolA} to {currentPoolData.SymbolB}", true);
return;
}
BigInteger bigInt = currentPoolData.Pool.SqrtPrice;
var d = Double.Parse(bigInt.ToString());
var fromX64 = Math.Pow(d * Math.Pow(2, -64), 2);
var aRatioA = Math.Pow(10,
currentPoolData.TokenA.decimals -
currentPoolData.TokenB.decimals);
var priceBtoA = fromX64 * aRatioA;
TokenSymbolA.text = AToB ? currentPoolData.SymbolA : currentPoolData.SymbolB;
TokenSymbolB.text = AToB ? currentPoolData.SymbolB : currentPoolData.SymbolA;
IconA.sprite = AToB ? currentPoolData.SpriteA : currentPoolData.SpriteB;
IconB.sprite = AToB ? currentPoolData.SpriteB : currentPoolData.SpriteA;
var aToB = (value * priceBtoA).ToString("F6");
var bToA = (value / priceBtoA).ToString("F6");
Debug.Log($"Price a to b {aToB} b to a: {bToA}");
TokenInputB.text = AToB ? aToB : bToA;
}
private async void OnSwapButtonClicked()
{
if (!float.TryParse(AmountInput.text, out float value))
{
LoggingService
.LogWarning($"Wrong input value {value} {currentPoolData.SymbolA} to {currentPoolData.SymbolB}", true);
return;
}
var pow = (ulong) Math.Pow(10,
AToB
? currentPoolData.TokenA.decimals
: currentPoolData.TokenB.decimals);
var floorToInt = value * pow;
ulong valueLong = (ulong) floorToInt;
string fromToMessage =
AToB
? $"Swapping {value} {currentPoolData.SymbolA} to {currentPoolData.SymbolB}"
: $"Swapping {value} {currentPoolData.SymbolB} to {currentPoolData.SymbolA}";
LoggingService.Log(fromToMessage, true);
var wallet = ServiceFactory.Resolve<WalletHolderService>().BaseWallet;
var signature = await ServiceFactory.Resolve<OrcaWhirlpoolService>()
.Swap(wallet, currentPoolData.Pool, valueLong, AToB);
ServiceFactory.Resolve<TransactionService>().CheckSignatureStatus(signature,
success => { MessageRouter.RaiseMessage(new TokenValueChangedMessage()); });
}
private void OnSwapAAndBButtonClicked()
{
AToB = !AToB;
TokenInputA.text = TokenInputB.text;
UpdateContent();
}
}
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca/OrcaWhirlPool/PriceUtils.cs.meta
|
fileFormatVersion: 2
guid: 6817542ca2274c4a8036a155dd9dc128
timeCreated: 1665650379
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca/OrcaWhirlPool/OrcaWhirlpoolService.cs
|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Numerics;
using System.Threading.Tasks;
using Frictionless;
using Newtonsoft.Json;
using Solana.Unity.Programs;
using Solana.Unity.Programs.Models;
using Solana.Unity.Rpc.Core.Http;
using Solana.Unity.Rpc.Messages;
using Solana.Unity.Rpc.Models;
using Solana.Unity.Rpc.Types;
using Solana.Unity.SDK;
using Solana.Unity.SDK.Utility;
using Solana.Unity.Wallet;
using SolPlay.DeeplinksNftExample.Scripts.OrcaWhirlPool;
using SolPlay.Orca;
using SolPlay.Scripts;
using SolPlay.Scripts.Services;
using UnityEngine;
using Whirlpool;
using Whirlpool.Program;
using Whirlpool.Types;
using Vector2 = UnityEngine.Vector2;
namespace SolPlay.DeeplinksNftExample.Scripts
{
public class OrcaWhirlpoolService : MonoBehaviour, IMultiSceneSingleton
{
private WhirlpoolClient _whirlpoolClient;
public static PublicKey WhirlpoolProgammId = new PublicKey("whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc");
public static PublicKey WhirlpoolConfigId = new PublicKey("2LecshUwdy9xi7meFgHtFJQNSKk4KdTrcpvaB56dP2NQ");
public static PublicKey NativeMint = new PublicKey("So11111111111111111111111111111111111111112");
public OrcaApiPoolsData OrcaApiPoolsData;
public OrcaApiTokenData OrcaApiTokenData;
const string MAX_SQRT_PRICE = "79226673515401279992447579055";
const string MIN_SQRT_PRICE = "4295048016";
public TextAsset PoolsAsset;
public TextAsset TokensAsset;
private void Awake()
{
if (ServiceFactory.Resolve<OrcaWhirlpoolService>() != null)
{
Destroy(gameObject);
return;
}
ServiceFactory.RegisterSingleton(this);
}
private void Start()
{
MessageRouter.AddHandler<WalletLoggedInMessage>(OnWalletLoggedInMessage);
OrcaApiPoolsData = JsonConvert.DeserializeObject<OrcaApiPoolsData>(PoolsAsset.text);
OrcaApiTokenData = JsonConvert.DeserializeObject<OrcaApiTokenData>(TokensAsset.text);
// Its faster to cache it directly in unity in text assets. But the data may be out of date, so we calculate the
// prices from the on chain data sqrt price directly.
RefreshApiData();
if (ServiceFactory.Resolve<WalletHolderService>().IsLoggedIn)
{
Init();
}
}
private async void RefreshApiData()
{
//OrcaApiPoolsData =
// await FileLoader.LoadFile<OrcaApiPoolsData>("https://api.mainnet.orca.so/v1/whirlpool/list");
//OrcaApiTokenData = await FileLoader.LoadFile<OrcaApiTokenData>("https://api.mainnet.orca.so/v1/token/list");
//OrcaApiPoolsData = await FileLoader.LoadFile<OrcaApiPoolsData>("https://api.devnet.orca.so/v1/whirlpool/list");
//OrcaApiTokenData = await FileLoader.LoadFile<OrcaApiTokenData>("https://api.devnet.orca.so/v1/token/list");
}
private void OnWalletLoggedInMessage(WalletLoggedInMessage message)
{
Init();
}
private void Init()
{
var walletHolderService = ServiceFactory.Resolve<WalletHolderService>();
if (!walletHolderService.IsLoggedIn)
{
return;
}
var wallet = walletHolderService.BaseWallet;
_whirlpoolClient = new WhirlpoolClient(wallet.ActiveRpcClient, null, WhirlpoolProgammId);
}
public async Task<Whirlpool.Accounts.Whirlpool> GetPool(string poolPDA)
{
if (_whirlpoolClient == null)
{
Init();
}
var whirlpoolsAsync =
await _whirlpoolClient.GetWhirlpoolAsync(poolPDA);
var pool = whirlpoolsAsync.ParsedResult;
return pool;
}
public async Task<List<Whirlpool.Accounts.Whirlpool>> GetPools()
{
ProgramAccountsResultWrapper<List<Whirlpool.Accounts.Whirlpool>> whirlpoolsAsync =
await _whirlpoolClient.GetWhirlpoolsAsync(WhirlpoolProgammId);
List<Whirlpool.Accounts.Whirlpool> allPools = whirlpoolsAsync.ParsedResult;
return allPools;
}
/// <summary>
/// WIP
/// </summary>
public async Task<string> InitializePool(WalletBase wallet)
{
RequestResult<ResponseValue<LatestBlockHash>> blockHash = await wallet.ActiveRpcClient.GetLatestBlockHashAsync();
Transaction swapOrcaTokenTransaction = new Transaction();
swapOrcaTokenTransaction.FeePayer = wallet.Account.PublicKey;
swapOrcaTokenTransaction.RecentBlockHash = blockHash.Result.Value.Blockhash;
swapOrcaTokenTransaction.Signatures = new List<SignaturePubKeyPair>();
swapOrcaTokenTransaction.Instructions = new List<TransactionInstruction>();
var initializePoolAccounts = new InitializePoolAccounts();
initializePoolAccounts.Funder = new PublicKey("");
initializePoolAccounts.Rent = new PublicKey("");
initializePoolAccounts.Whirlpool = new PublicKey("");
initializePoolAccounts.FeeTier = new PublicKey("");
initializePoolAccounts.SystemProgram = new PublicKey("");
initializePoolAccounts.TokenProgram = new PublicKey("");
initializePoolAccounts.WhirlpoolsConfig = new PublicKey("");
initializePoolAccounts.TokenMintA = new PublicKey("");
initializePoolAccounts.TokenMintB = new PublicKey("");
initializePoolAccounts.TokenVaultA = new PublicKey("");
initializePoolAccounts.TokenVaultB = new PublicKey("");
WhirlpoolProgram.InitializePool(initializePoolAccounts, new WhirlpoolBumps(), UInt16.MinValue,
BigInteger.One, WhirlpoolProgammId);
var signedTransaction = await wallet.SignTransaction(swapOrcaTokenTransaction);
var signature =
await wallet.ActiveRpcClient.SendTransactionAsync(Convert.ToBase64String(signedTransaction.Serialize()),
false,
Commitment.Confirmed);
Debug.Log(signature.Result + signature.RawRpcResponse);
return signature.Result;
}
public async Task<string> Swap(WalletBase wallet, Whirlpool.Accounts.Whirlpool pool, UInt64 amount,
bool aToB = true)
{
RequestResult<ResponseValue<LatestBlockHash>> blockHash = await wallet.ActiveRpcClient.GetLatestBlockHashAsync();
PublicKey whirlPoolPda = OrcaPDAUtils.GetWhirlpoolPda(WhirlpoolProgammId, pool.WhirlpoolsConfig,
pool.TokenMintA, pool.TokenMintB, pool.TickSpacing);
var getWhirlpool = await _whirlpoolClient.GetWhirlpoolAsync(whirlPoolPda);
if (getWhirlpool.ParsedResult == null)
{
LoggingService.LogWarning($"Could not load whirlpool {whirlPoolPda}", true);
return null;
}
Debug.Log(getWhirlpool.ParsedResult.TickSpacing);
Transaction swapOrcaTokenTransaction = new Transaction();
swapOrcaTokenTransaction.FeePayer = wallet.Account.PublicKey;
swapOrcaTokenTransaction.RecentBlockHash = blockHash.Result.Value.Blockhash;
swapOrcaTokenTransaction.Signatures = new List<SignaturePubKeyPair>();
swapOrcaTokenTransaction.Instructions = new List<TransactionInstruction>();
var tokenOwnerAccountA =
await CreateAtaInstruction(wallet, pool.TokenMintA, swapOrcaTokenTransaction, amount);
var tokenOwnerAccountB =
await CreateAtaInstruction(wallet, pool.TokenMintB, swapOrcaTokenTransaction, amount);
int startTickIndex = TickUtils.GetStartTickIndex(pool.TickCurrentIndex, pool.TickSpacing, 0);
var swapAccountsTickArray0 = OrcaPDAUtils.GetTickArray(WhirlpoolProgammId, whirlPoolPda, startTickIndex);
SwapAccounts swapAccounts = new SwapAccounts();
swapAccounts.TokenProgram = TokenProgram.ProgramIdKey;
swapAccounts.TokenAuthority = wallet.Account.PublicKey;
swapAccounts.TokenOwnerAccountA = tokenOwnerAccountA.PublicKey;
swapAccounts.TokenVaultA = pool.TokenVaultA;
swapAccounts.TokenVaultB = pool.TokenVaultB;
swapAccounts.TokenOwnerAccountB = tokenOwnerAccountB.PublicKey;
swapAccounts.TickArray0 = swapAccountsTickArray0;
swapAccounts.TickArray1 = swapAccounts.TickArray0;
swapAccounts.TickArray2 = swapAccounts.TickArray0;
swapAccounts.Whirlpool = whirlPoolPda;
swapAccounts.Oracle = OrcaPDAUtils.GetOracle(WhirlpoolProgammId, whirlPoolPda);
var srqtPrice = BigInteger.Parse(aToB ? MIN_SQRT_PRICE : MAX_SQRT_PRICE);
TransactionInstruction swapInstruction = WhirlpoolProgram.Swap(swapAccounts, amount, 0, srqtPrice,
true, aToB, WhirlpoolProgammId);
swapOrcaTokenTransaction.Instructions.Add(swapInstruction);
if (pool.TokenMintA == NativeMint)
{
var closeAccount = TokenProgram.CloseAccount(
tokenOwnerAccountA,
wallet.Account.PublicKey,
wallet.Account.PublicKey,
TokenProgram.ProgramIdKey);
swapOrcaTokenTransaction.Instructions.Add(closeAccount);
}
if (pool.TokenMintB == NativeMint)
{
var closeAccount = TokenProgram.CloseAccount(
tokenOwnerAccountB,
wallet.Account.PublicKey,
wallet.Account.PublicKey,
TokenProgram.ProgramIdKey);
swapOrcaTokenTransaction.Instructions.Add(closeAccount);
}
Transaction signedTransaction = await wallet.SignTransaction(swapOrcaTokenTransaction);
var signature = await wallet.ActiveRpcClient.SendTransactionAsync(
Convert.ToBase64String(signedTransaction.Serialize()),
true, Commitment.Confirmed);
if (!signature.WasSuccessful)
{
LoggingService.LogWarning(signature.Reason, true);
}
return signature.Result;
}
private static async Task<Account> CreateAtaInstruction(WalletBase wallet, PublicKey tokenMint,
Transaction swapOrcaTokenTransaction, ulong wrappedSolIn = 0)
{
if (tokenMint == NativeMint)
{
var minimumRent =
await wallet.ActiveRpcClient.GetMinimumBalanceForRentExemptionAsync(
TokenProgram.MintAccountDataSize);
PublicKey tokenOwnerAccount = CreateAta(wallet, tokenMint);
var accountInfo = await wallet.ActiveRpcClient.GetAccountInfoAsync(tokenOwnerAccount);
if (accountInfo.Result.Value == null)
{
var createWrappedSolTokenAccount = AssociatedTokenAccountProgram.CreateAssociatedTokenAccount(
wallet.Account.PublicKey,
wallet.Account.PublicKey,
tokenMint);
swapOrcaTokenTransaction.Instructions.Add(createWrappedSolTokenAccount);
}
var transfer = SystemProgram.Transfer(wallet.Account.PublicKey, tokenOwnerAccount,
wrappedSolIn + minimumRent.Result);
var nativeSync = TokenProgram.SyncNative(tokenOwnerAccount);
swapOrcaTokenTransaction.Instructions.Add(transfer);
swapOrcaTokenTransaction.Instructions.Add(nativeSync);
return new Account("", tokenOwnerAccount.Key);
}
else
{
PublicKey tokenOwnerAccount = CreateAta(wallet, tokenMint);
var accountInfo = await wallet.ActiveRpcClient.GetAccountInfoAsync(tokenOwnerAccount);
if (accountInfo.Result.Value == null)
{
var associatedTokenAccountA = AssociatedTokenAccountProgram.CreateAssociatedTokenAccount(
wallet.Account.PublicKey, wallet.Account.PublicKey, tokenMint);
swapOrcaTokenTransaction.Instructions.Add(associatedTokenAccountA);
}
return new Account("", tokenOwnerAccount.Key);
}
}
/// <summary>
/// For some reason when trying to load the icons from token list I get a cross domain error, so for now
/// I just added some token icons on the resources folder.
/// </summary>
public static async Task<Sprite> GetTokenIconSprite(string mint, string symbol)
{
foreach (var token in ServiceFactory.Resolve<OrcaWhirlpoolService>().OrcaApiTokenData.tokens)
{
if (token.mint == mint)
{
var spriteFromResources = SolPlayFileLoader.LoadFromResources(symbol);
if (spriteFromResources != null)
{
return spriteFromResources;
}
string tokenIconUrl = token.logoURI;
var texture = await SolPlayFileLoader.LoadFile<Texture2D>(tokenIconUrl);
Texture2D compressedTexture = SolPlayNft.Resize(texture, 75, 75);
var sprite = Sprite.Create(compressedTexture,
new Rect(0.0f, 0.0f, compressedTexture.width, compressedTexture.height),
new Vector2(0.5f, 0.5f),
100.0f);
return sprite;
}
}
return null;
/*
Deprecated way of loading token icons from the Solana token-list
string tokenIconUrl =
$"https://github.com/solana-labs/token-list/blob/main/assets/mainnet/{mint}/logo.png?raw=true";
var texture = await SolPlayFileLoader.LoadFile<Texture2D>(tokenIconUrl);
Texture2D compressedTexture = Nft.Resize(texture, 75, 75);
var sprite = Sprite.Create(compressedTexture,
new Rect(0.0f, 0.0f, compressedTexture.width, compressedTexture.height), new Vector2(0.5f, 0.5f),
100.0f);
return sprite;*/
}
private static PublicKey CreateAta(WalletBase wallet, PublicKey mint)
{
return AssociatedTokenAccountProgram.DeriveAssociatedTokenAccount(wallet.Account.PublicKey, mint);
}
public Token GetToken(PublicKey mint)
{
foreach (var token in OrcaApiTokenData.tokens)
{
if (mint == token.mint)
{
return token;
}
}
return null;
}
public IEnumerator HandleNewSceneLoaded()
{
yield return null;
}
}
}
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca/OrcaWhirlPool/TickUtils.cs
|
using UnityEngine;
namespace SolPlay.DeeplinksNftExample.Scripts.OrcaWhirlPool
{
public class TickUtils
{
public const int TICK_ARRAY_SIZE = 88;
public const int MIN_TICK_INDEX = -443636;
public const int MAX_TICK_INDEX = 443636;
public static int GetStartTickIndex(int tickIndex, int tickSpacing, int offset)
{
var realIndex = Mathf.FloorToInt((float) tickIndex / (float)tickSpacing / (float)TICK_ARRAY_SIZE);
var startTickIndex = (realIndex + offset) * tickSpacing * TICK_ARRAY_SIZE;
var ticksInArray = TICK_ARRAY_SIZE * tickSpacing;
var minTickIndex = MIN_TICK_INDEX - ((MIN_TICK_INDEX % ticksInArray) + ticksInArray);
if (startTickIndex <= minTickIndex)
{
Debug.LogError($"Tick index too small {startTickIndex}");
}
if (startTickIndex >= MAX_TICK_INDEX)
{
Debug.LogError($"Tick index too big {startTickIndex}");
}
return startTickIndex;
}
}
}
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca/OrcaWhirlPool/TickUtils.cs.meta
|
fileFormatVersion: 2
guid: cb9f1f04eb574ce0942669628904e15a
timeCreated: 1664015200
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca/Editor/Test.meta
|
fileFormatVersion: 2
guid: eedcc56cd9b9d44948dceb7d01ff0fa0
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca/Editor
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca/Editor/Test/Tests.meta
|
fileFormatVersion: 2
guid: a5f9b9d12ef7548ebab7441ee990d9b2
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca/Editor/Test
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca/Editor/Test/Tests/OrcaMathTests.cs.meta
|
fileFormatVersion: 2
guid: cf2f0abdb5fd34cbc8cc7e95e4d251f8
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca/Editor/Test
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/SolPlay/Orca/Editor/Test/Tests/OrcaMathTests.cs
|
using System.Numerics;
using NUnit.Framework;
using SolPlay.Orca.OrcaWhirlPool;
using Assert = UnityEngine.Assertions.Assert;
public class OrcaMathTests
{
[Test]
public void SqrtPriceToPrice_Case_ORCA()
{
BigInteger bigInt = BigInteger.Parse("17045354231584594377");
var result = PriceUtils.GetPriceFromSqrtPrice(bigInt);
double expected = 0.85383237312353633;
Assert.AreEqual(result, expected);
}
}
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Textures.meta
|
fileFormatVersion: 2
guid: 0abd541f69fa99144b346f309c1b3bc7
folderAsset: yes
timeCreated: 1504810024
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Pirate_Ship_Pack.unity.meta
|
fileFormatVersion: 2
guid: c46b9e9c363d8534ab9a15093f149416
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Pirate_Ship_Pack.unity
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!29 &1
OcclusionCullingSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_OcclusionBakeSettings:
smallestOccluder: 5
smallestHole: 0.25
backfaceThreshold: 100
m_SceneGUID: 00000000000000000000000000000000
m_OcclusionCullingData: {fileID: 0}
--- !u!104 &2
RenderSettings:
m_ObjectHideFlags: 0
serializedVersion: 9
m_Fog: 0
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3
m_FogDensity: 0.01
m_LinearFogStart: 0
m_LinearFogEnd: 300
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
m_AmbientIntensity: 1
m_AmbientMode: 0
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
m_HaloStrength: 0.5
m_FlareStrength: 1
m_FlareFadeSpeed: 3
m_HaloTexture: {fileID: 0}
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
m_DefaultReflectionMode: 0
m_DefaultReflectionResolution: 128
m_ReflectionBounces: 1
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
m_ObjectHideFlags: 0
serializedVersion: 11
m_GIWorkflowMode: 1
m_GISettings:
serializedVersion: 2
m_BounceScale: 1
m_IndirectOutputScale: 1
m_AlbedoBoost: 1
m_EnvironmentLightingMode: 0
m_EnableBakedLightmaps: 1
m_EnableRealtimeLightmaps: 1
m_LightmapEditorSettings:
serializedVersion: 12
m_Resolution: 2
m_BakeResolution: 40
m_AtlasSize: 1024
m_AO: 0
m_AOMaxDistance: 1
m_CompAOExponent: 1
m_CompAOExponentDirect: 0
m_ExtractAmbientOcclusion: 0
m_Padding: 2
m_LightmapParameters: {fileID: 0}
m_LightmapsBakeMode: 1
m_TextureCompression: 1
m_FinalGather: 0
m_FinalGatherFiltering: 1
m_FinalGatherRayCount: 256
m_ReflectionCompression: 2
m_MixedBakeMode: 2
m_BakeBackend: 1
m_PVRSampling: 1
m_PVRDirectSampleCount: 32
m_PVRSampleCount: 512
m_PVRBounces: 2
m_PVREnvironmentSampleCount: 256
m_PVREnvironmentReferencePointCount: 2048
m_PVRFilteringMode: 1
m_PVRDenoiserTypeDirect: 1
m_PVRDenoiserTypeIndirect: 1
m_PVRDenoiserTypeAO: 1
m_PVRFilterTypeDirect: 0
m_PVRFilterTypeIndirect: 0
m_PVRFilterTypeAO: 0
m_PVREnvironmentMIS: 1
m_PVRCulling: 1
m_PVRFilteringGaussRadiusDirect: 1
m_PVRFilteringGaussRadiusIndirect: 5
m_PVRFilteringGaussRadiusAO: 2
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
m_PVRFilteringAtrousPositionSigmaIndirect: 2
m_PVRFilteringAtrousPositionSigmaAO: 1
m_ExportTrainingData: 0
m_TrainingDataDestination: TrainingData
m_LightingDataAsset: {fileID: 0}
m_UseShadowmask: 1
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2
m_ObjectHideFlags: 0
m_BuildSettings:
serializedVersion: 2
agentTypeID: 0
agentRadius: 0.5
agentHeight: 2
agentSlope: 45
agentClimb: 0.4
ledgeDropHeight: 0
maxJumpAcrossDistance: 0
minRegionArea: 2
manualCellSize: 0
cellSize: 0.16666667
manualTileSize: 0
tileSize: 256
accuratePlacement: 0
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!1001 &277545619
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1356981169987902, guid: 90879ec93f3e71d4bad40d570fd97385, type: 3}
propertyPath: m_Name
value: Platform
objectReference: {fileID: 0}
- target: {fileID: 4560557648384462, guid: 90879ec93f3e71d4bad40d570fd97385, type: 3}
propertyPath: m_LocalPosition.x
value: 19
objectReference: {fileID: 0}
- target: {fileID: 4560557648384462, guid: 90879ec93f3e71d4bad40d570fd97385, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4560557648384462, guid: 90879ec93f3e71d4bad40d570fd97385, type: 3}
propertyPath: m_LocalPosition.z
value: 56
objectReference: {fileID: 0}
- target: {fileID: 4560557648384462, guid: 90879ec93f3e71d4bad40d570fd97385, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4560557648384462, guid: 90879ec93f3e71d4bad40d570fd97385, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4560557648384462, guid: 90879ec93f3e71d4bad40d570fd97385, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4560557648384462, guid: 90879ec93f3e71d4bad40d570fd97385, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4560557648384462, guid: 90879ec93f3e71d4bad40d570fd97385, type: 3}
propertyPath: m_RootOrder
value: 18
objectReference: {fileID: 0}
- target: {fileID: 4560557648384462, guid: 90879ec93f3e71d4bad40d570fd97385, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4560557648384462, guid: 90879ec93f3e71d4bad40d570fd97385, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4560557648384462, guid: 90879ec93f3e71d4bad40d570fd97385, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 90879ec93f3e71d4bad40d570fd97385, type: 3}
--- !u!1001 &323144507
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1644207815284666, guid: 9dc11a81feac2de49be864daa3b87259, type: 3}
propertyPath: m_Name
value: Cannon
objectReference: {fileID: 0}
- target: {fileID: 4529631924483644, guid: 9dc11a81feac2de49be864daa3b87259, type: 3}
propertyPath: m_LocalPosition.x
value: 13
objectReference: {fileID: 0}
- target: {fileID: 4529631924483644, guid: 9dc11a81feac2de49be864daa3b87259, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4529631924483644, guid: 9dc11a81feac2de49be864daa3b87259, type: 3}
propertyPath: m_LocalPosition.z
value: 56
objectReference: {fileID: 0}
- target: {fileID: 4529631924483644, guid: 9dc11a81feac2de49be864daa3b87259, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4529631924483644, guid: 9dc11a81feac2de49be864daa3b87259, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4529631924483644, guid: 9dc11a81feac2de49be864daa3b87259, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4529631924483644, guid: 9dc11a81feac2de49be864daa3b87259, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4529631924483644, guid: 9dc11a81feac2de49be864daa3b87259, type: 3}
propertyPath: m_RootOrder
value: 17
objectReference: {fileID: 0}
- target: {fileID: 4529631924483644, guid: 9dc11a81feac2de49be864daa3b87259, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4529631924483644, guid: 9dc11a81feac2de49be864daa3b87259, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4529631924483644, guid: 9dc11a81feac2de49be864daa3b87259, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 9dc11a81feac2de49be864daa3b87259, type: 3}
--- !u!1001 &452158210
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1968567676994268, guid: b4c93329e8a4b1044b4050ee434f94c0, type: 3}
propertyPath: m_Name
value: Box
objectReference: {fileID: 0}
- target: {fileID: 4740778789488986, guid: b4c93329e8a4b1044b4050ee434f94c0, type: 3}
propertyPath: m_LocalPosition.x
value: 24
objectReference: {fileID: 0}
- target: {fileID: 4740778789488986, guid: b4c93329e8a4b1044b4050ee434f94c0, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4740778789488986, guid: b4c93329e8a4b1044b4050ee434f94c0, type: 3}
propertyPath: m_LocalPosition.z
value: 56
objectReference: {fileID: 0}
- target: {fileID: 4740778789488986, guid: b4c93329e8a4b1044b4050ee434f94c0, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4740778789488986, guid: b4c93329e8a4b1044b4050ee434f94c0, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4740778789488986, guid: b4c93329e8a4b1044b4050ee434f94c0, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4740778789488986, guid: b4c93329e8a4b1044b4050ee434f94c0, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4740778789488986, guid: b4c93329e8a4b1044b4050ee434f94c0, type: 3}
propertyPath: m_RootOrder
value: 16
objectReference: {fileID: 0}
- target: {fileID: 4740778789488986, guid: b4c93329e8a4b1044b4050ee434f94c0, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4740778789488986, guid: b4c93329e8a4b1044b4050ee434f94c0, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4740778789488986, guid: b4c93329e8a4b1044b4050ee434f94c0, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: b4c93329e8a4b1044b4050ee434f94c0, type: 3}
--- !u!1001 &473087271
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 3309757510148701361, guid: 47effba544313e741af3bf7db5dbd398,
type: 3}
propertyPath: m_Name
value: boat_01_blue
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 47effba544313e741af3bf7db5dbd398,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 47effba544313e741af3bf7db5dbd398,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 47effba544313e741af3bf7db5dbd398,
type: 3}
propertyPath: m_LocalPosition.z
value: 19
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 47effba544313e741af3bf7db5dbd398,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 47effba544313e741af3bf7db5dbd398,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 47effba544313e741af3bf7db5dbd398,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 47effba544313e741af3bf7db5dbd398,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 47effba544313e741af3bf7db5dbd398,
type: 3}
propertyPath: m_RootOrder
value: 6
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 47effba544313e741af3bf7db5dbd398,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 47effba544313e741af3bf7db5dbd398,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 47effba544313e741af3bf7db5dbd398,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 47effba544313e741af3bf7db5dbd398, type: 3}
--- !u!1001 &475812162
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1087150559683053229, guid: 03e6498276cbb2843bd54d15a84611c3,
type: 3}
propertyPath: m_Name
value: boat_03_black
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: 03e6498276cbb2843bd54d15a84611c3,
type: 3}
propertyPath: m_LocalPosition.x
value: 20
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: 03e6498276cbb2843bd54d15a84611c3,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: 03e6498276cbb2843bd54d15a84611c3,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: 03e6498276cbb2843bd54d15a84611c3,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: 03e6498276cbb2843bd54d15a84611c3,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: 03e6498276cbb2843bd54d15a84611c3,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: 03e6498276cbb2843bd54d15a84611c3,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: 03e6498276cbb2843bd54d15a84611c3,
type: 3}
propertyPath: m_RootOrder
value: 4
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: 03e6498276cbb2843bd54d15a84611c3,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: 03e6498276cbb2843bd54d15a84611c3,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: 03e6498276cbb2843bd54d15a84611c3,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 03e6498276cbb2843bd54d15a84611c3, type: 3}
--- !u!1001 &525610655
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1898284681201445234, guid: e17be3aeab9be6e49a01e6bb7138d655,
type: 3}
propertyPath: m_Name
value: boat_02_Green
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: e17be3aeab9be6e49a01e6bb7138d655,
type: 3}
propertyPath: m_LocalPosition.x
value: 10
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: e17be3aeab9be6e49a01e6bb7138d655,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: e17be3aeab9be6e49a01e6bb7138d655,
type: 3}
propertyPath: m_LocalPosition.z
value: 40
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: e17be3aeab9be6e49a01e6bb7138d655,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: e17be3aeab9be6e49a01e6bb7138d655,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: e17be3aeab9be6e49a01e6bb7138d655,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: e17be3aeab9be6e49a01e6bb7138d655,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: e17be3aeab9be6e49a01e6bb7138d655,
type: 3}
propertyPath: m_RootOrder
value: 11
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: e17be3aeab9be6e49a01e6bb7138d655,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: e17be3aeab9be6e49a01e6bb7138d655,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: e17be3aeab9be6e49a01e6bb7138d655,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: e17be3aeab9be6e49a01e6bb7138d655, type: 3}
--- !u!1 &535900407
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 535900410}
- component: {fileID: 535900409}
- component: {fileID: 535900408}
m_Layer: 0
m_Name: Main Camera
m_TagString: MainCamera
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!81 &535900408
AudioListener:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 535900407}
m_Enabled: 1
--- !u!20 &535900409
Camera:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 535900407}
m_Enabled: 1
serializedVersion: 2
m_ClearFlags: 1
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
m_projectionMatrixMode: 1
m_GateFitMode: 2
m_FOVAxisMode: 0
m_SensorSize: {x: 36, y: 24}
m_LensShift: {x: 0, y: 0}
m_FocalLength: 50
m_NormalizedViewPortRect:
serializedVersion: 2
x: 0
y: 0
width: 1
height: 1
near clip plane: 0.3
far clip plane: 1000
field of view: 60
orthographic: 0
orthographic size: 5
m_Depth: -1
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingPath: -1
m_TargetTexture: {fileID: 0}
m_TargetDisplay: 0
m_TargetEye: 3
m_HDR: 1
m_AllowMSAA: 1
m_AllowDynamicResolution: 0
m_ForceIntoRT: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
--- !u!4 &535900410
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 535900407}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 1, z: -10}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &554483186
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 3309757510148701361, guid: 7b0d5801c97bde745af6b11a07dad269,
type: 3}
propertyPath: m_Name
value: boat_01_black
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 7b0d5801c97bde745af6b11a07dad269,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 7b0d5801c97bde745af6b11a07dad269,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 7b0d5801c97bde745af6b11a07dad269,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 7b0d5801c97bde745af6b11a07dad269,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 7b0d5801c97bde745af6b11a07dad269,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 7b0d5801c97bde745af6b11a07dad269,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 7b0d5801c97bde745af6b11a07dad269,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 7b0d5801c97bde745af6b11a07dad269,
type: 3}
propertyPath: m_RootOrder
value: 2
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 7b0d5801c97bde745af6b11a07dad269,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 7b0d5801c97bde745af6b11a07dad269,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 7b0d5801c97bde745af6b11a07dad269,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 7b0d5801c97bde745af6b11a07dad269, type: 3}
--- !u!1001 &718568271
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1138163749874189552, guid: a9479203cb5a8c04298f9a45a2215834,
type: 3}
propertyPath: m_Name
value: boat_04_Green
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: a9479203cb5a8c04298f9a45a2215834,
type: 3}
propertyPath: m_LocalPosition.x
value: 30
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: a9479203cb5a8c04298f9a45a2215834,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: a9479203cb5a8c04298f9a45a2215834,
type: 3}
propertyPath: m_LocalPosition.z
value: 40
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: a9479203cb5a8c04298f9a45a2215834,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: a9479203cb5a8c04298f9a45a2215834,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: a9479203cb5a8c04298f9a45a2215834,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: a9479203cb5a8c04298f9a45a2215834,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: a9479203cb5a8c04298f9a45a2215834,
type: 3}
propertyPath: m_RootOrder
value: 13
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: a9479203cb5a8c04298f9a45a2215834,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: a9479203cb5a8c04298f9a45a2215834,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: a9479203cb5a8c04298f9a45a2215834,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: a9479203cb5a8c04298f9a45a2215834, type: 3}
--- !u!1001 &961320380
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1493986712044802, guid: cc903e4fb5f5f8d458fa673c0d565832, type: 3}
propertyPath: m_Name
value: Boat_Micro
objectReference: {fileID: 0}
- target: {fileID: 4425255655467000, guid: cc903e4fb5f5f8d458fa673c0d565832, type: 3}
propertyPath: m_LocalPosition.x
value: 6
objectReference: {fileID: 0}
- target: {fileID: 4425255655467000, guid: cc903e4fb5f5f8d458fa673c0d565832, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4425255655467000, guid: cc903e4fb5f5f8d458fa673c0d565832, type: 3}
propertyPath: m_LocalPosition.z
value: 56
objectReference: {fileID: 0}
- target: {fileID: 4425255655467000, guid: cc903e4fb5f5f8d458fa673c0d565832, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4425255655467000, guid: cc903e4fb5f5f8d458fa673c0d565832, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4425255655467000, guid: cc903e4fb5f5f8d458fa673c0d565832, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4425255655467000, guid: cc903e4fb5f5f8d458fa673c0d565832, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4425255655467000, guid: cc903e4fb5f5f8d458fa673c0d565832, type: 3}
propertyPath: m_RootOrder
value: 15
objectReference: {fileID: 0}
- target: {fileID: 4425255655467000, guid: cc903e4fb5f5f8d458fa673c0d565832, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4425255655467000, guid: cc903e4fb5f5f8d458fa673c0d565832, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4425255655467000, guid: cc903e4fb5f5f8d458fa673c0d565832, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: cc903e4fb5f5f8d458fa673c0d565832, type: 3}
--- !u!1001 &969705409
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1898284681201445234, guid: 482a327ec432c7a4bb21186faf0a2765,
type: 3}
propertyPath: m_Name
value: boat_02_blue
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: 482a327ec432c7a4bb21186faf0a2765,
type: 3}
propertyPath: m_LocalPosition.x
value: 10
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: 482a327ec432c7a4bb21186faf0a2765,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: 482a327ec432c7a4bb21186faf0a2765,
type: 3}
propertyPath: m_LocalPosition.z
value: 19
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: 482a327ec432c7a4bb21186faf0a2765,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: 482a327ec432c7a4bb21186faf0a2765,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: 482a327ec432c7a4bb21186faf0a2765,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: 482a327ec432c7a4bb21186faf0a2765,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: 482a327ec432c7a4bb21186faf0a2765,
type: 3}
propertyPath: m_RootOrder
value: 7
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: 482a327ec432c7a4bb21186faf0a2765,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: 482a327ec432c7a4bb21186faf0a2765,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: 482a327ec432c7a4bb21186faf0a2765,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 482a327ec432c7a4bb21186faf0a2765, type: 3}
--- !u!1001 &975554437
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1898284681201445234, guid: 5f2bd98c776e5c943b0b8a1c52bb2b71,
type: 3}
propertyPath: m_Name
value: boat_02_black
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: 5f2bd98c776e5c943b0b8a1c52bb2b71,
type: 3}
propertyPath: m_LocalPosition.x
value: 10
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: 5f2bd98c776e5c943b0b8a1c52bb2b71,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: 5f2bd98c776e5c943b0b8a1c52bb2b71,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: 5f2bd98c776e5c943b0b8a1c52bb2b71,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: 5f2bd98c776e5c943b0b8a1c52bb2b71,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: 5f2bd98c776e5c943b0b8a1c52bb2b71,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: 5f2bd98c776e5c943b0b8a1c52bb2b71,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: 5f2bd98c776e5c943b0b8a1c52bb2b71,
type: 3}
propertyPath: m_RootOrder
value: 3
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: 5f2bd98c776e5c943b0b8a1c52bb2b71,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: 5f2bd98c776e5c943b0b8a1c52bb2b71,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7784429271484338712, guid: 5f2bd98c776e5c943b0b8a1c52bb2b71,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 5f2bd98c776e5c943b0b8a1c52bb2b71, type: 3}
--- !u!1001 &1198767854
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1138163749874189552, guid: e8b647ff693981c49904cc8de1739130,
type: 3}
propertyPath: m_Name
value: boat_04_black
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: e8b647ff693981c49904cc8de1739130,
type: 3}
propertyPath: m_LocalPosition.x
value: 30
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: e8b647ff693981c49904cc8de1739130,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: e8b647ff693981c49904cc8de1739130,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: e8b647ff693981c49904cc8de1739130,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: e8b647ff693981c49904cc8de1739130,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: e8b647ff693981c49904cc8de1739130,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: e8b647ff693981c49904cc8de1739130,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: e8b647ff693981c49904cc8de1739130,
type: 3}
propertyPath: m_RootOrder
value: 5
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: e8b647ff693981c49904cc8de1739130,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: e8b647ff693981c49904cc8de1739130,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: e8b647ff693981c49904cc8de1739130,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: e8b647ff693981c49904cc8de1739130, type: 3}
--- !u!1001 &1234293152
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1624435625025032, guid: e8605335fc5ffac4c8b8998cac4ffe50, type: 3}
propertyPath: m_Name
value: Ball
objectReference: {fileID: 0}
- target: {fileID: 4712908637102636, guid: e8605335fc5ffac4c8b8998cac4ffe50, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4712908637102636, guid: e8605335fc5ffac4c8b8998cac4ffe50, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4712908637102636, guid: e8605335fc5ffac4c8b8998cac4ffe50, type: 3}
propertyPath: m_LocalPosition.z
value: 56
objectReference: {fileID: 0}
- target: {fileID: 4712908637102636, guid: e8605335fc5ffac4c8b8998cac4ffe50, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4712908637102636, guid: e8605335fc5ffac4c8b8998cac4ffe50, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4712908637102636, guid: e8605335fc5ffac4c8b8998cac4ffe50, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4712908637102636, guid: e8605335fc5ffac4c8b8998cac4ffe50, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4712908637102636, guid: e8605335fc5ffac4c8b8998cac4ffe50, type: 3}
propertyPath: m_RootOrder
value: 14
objectReference: {fileID: 0}
- target: {fileID: 4712908637102636, guid: e8605335fc5ffac4c8b8998cac4ffe50, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4712908637102636, guid: e8605335fc5ffac4c8b8998cac4ffe50, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4712908637102636, guid: e8605335fc5ffac4c8b8998cac4ffe50, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: e8605335fc5ffac4c8b8998cac4ffe50, type: 3}
--- !u!1001 &1291647168
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 3309757510148701361, guid: 007b9fcb952bfc34f8099d5831801a7b,
type: 3}
propertyPath: m_Name
value: boat_01_Green
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 007b9fcb952bfc34f8099d5831801a7b,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 007b9fcb952bfc34f8099d5831801a7b,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 007b9fcb952bfc34f8099d5831801a7b,
type: 3}
propertyPath: m_LocalPosition.z
value: 40
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 007b9fcb952bfc34f8099d5831801a7b,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 007b9fcb952bfc34f8099d5831801a7b,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 007b9fcb952bfc34f8099d5831801a7b,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 007b9fcb952bfc34f8099d5831801a7b,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 007b9fcb952bfc34f8099d5831801a7b,
type: 3}
propertyPath: m_RootOrder
value: 10
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 007b9fcb952bfc34f8099d5831801a7b,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 007b9fcb952bfc34f8099d5831801a7b,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8018596679738863958, guid: 007b9fcb952bfc34f8099d5831801a7b,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 007b9fcb952bfc34f8099d5831801a7b, type: 3}
--- !u!1 &1538828143
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1538828145}
- component: {fileID: 1538828144}
m_Layer: 0
m_Name: Directional Light
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!108 &1538828144
Light:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1538828143}
m_Enabled: 1
serializedVersion: 9
m_Type: 1
m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
m_Intensity: 1
m_Range: 10
m_SpotAngle: 30
m_InnerSpotAngle: 21.80208
m_CookieSize: 10
m_Shadows:
m_Type: 2
m_Resolution: -1
m_CustomResolution: -1
m_Strength: 1
m_Bias: 0.05
m_NormalBias: 0.4
m_NearPlane: 0.2
m_CullingMatrixOverride:
e00: 1
e01: 0
e02: 0
e03: 0
e10: 0
e11: 1
e12: 0
e13: 0
e20: 0
e21: 0
e22: 1
e23: 0
e30: 0
e31: 0
e32: 0
e33: 1
m_UseCullingMatrixOverride: 0
m_Cookie: {fileID: 0}
m_DrawHalo: 0
m_Flare: {fileID: 0}
m_RenderMode: 0
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingLayerMask: 1
m_Lightmapping: 4
m_LightShadowCasterMode: 0
m_AreaSize: {x: 1, y: 1}
m_BounceIntensity: 1
m_ColorTemperature: 6570
m_UseColorTemperature: 0
m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
m_UseBoundingSphereOverride: 0
m_ShadowRadius: 0
m_ShadowAngle: 0
--- !u!4 &1538828145
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1538828143}
m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
m_LocalPosition: {x: 0, y: 3, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
--- !u!1001 &1886058069
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1087150559683053229, guid: abc73b8320cfebc4685edc41dfa46245,
type: 3}
propertyPath: m_Name
value: boat_03_blue
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: abc73b8320cfebc4685edc41dfa46245,
type: 3}
propertyPath: m_LocalPosition.x
value: 20
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: abc73b8320cfebc4685edc41dfa46245,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: abc73b8320cfebc4685edc41dfa46245,
type: 3}
propertyPath: m_LocalPosition.z
value: 19
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: abc73b8320cfebc4685edc41dfa46245,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: abc73b8320cfebc4685edc41dfa46245,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: abc73b8320cfebc4685edc41dfa46245,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: abc73b8320cfebc4685edc41dfa46245,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: abc73b8320cfebc4685edc41dfa46245,
type: 3}
propertyPath: m_RootOrder
value: 8
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: abc73b8320cfebc4685edc41dfa46245,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: abc73b8320cfebc4685edc41dfa46245,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: abc73b8320cfebc4685edc41dfa46245,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: abc73b8320cfebc4685edc41dfa46245, type: 3}
--- !u!1001 &1969133533
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1087150559683053229, guid: 9dcce20822f1afe49a663f58af17ccbb,
type: 3}
propertyPath: m_Name
value: boat_03_Green
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: 9dcce20822f1afe49a663f58af17ccbb,
type: 3}
propertyPath: m_LocalPosition.x
value: 20
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: 9dcce20822f1afe49a663f58af17ccbb,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: 9dcce20822f1afe49a663f58af17ccbb,
type: 3}
propertyPath: m_LocalPosition.z
value: 40
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: 9dcce20822f1afe49a663f58af17ccbb,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: 9dcce20822f1afe49a663f58af17ccbb,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: 9dcce20822f1afe49a663f58af17ccbb,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: 9dcce20822f1afe49a663f58af17ccbb,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: 9dcce20822f1afe49a663f58af17ccbb,
type: 3}
propertyPath: m_RootOrder
value: 12
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: 9dcce20822f1afe49a663f58af17ccbb,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: 9dcce20822f1afe49a663f58af17ccbb,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8633262064868692889, guid: 9dcce20822f1afe49a663f58af17ccbb,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 9dcce20822f1afe49a663f58af17ccbb, type: 3}
--- !u!1001 &2109123971
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1138163749874189552, guid: f4ac8d67aa873fb47abb1519cedf3169,
type: 3}
propertyPath: m_Name
value: boat_04_blue
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: f4ac8d67aa873fb47abb1519cedf3169,
type: 3}
propertyPath: m_LocalPosition.x
value: 30
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: f4ac8d67aa873fb47abb1519cedf3169,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: f4ac8d67aa873fb47abb1519cedf3169,
type: 3}
propertyPath: m_LocalPosition.z
value: 19
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: f4ac8d67aa873fb47abb1519cedf3169,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: f4ac8d67aa873fb47abb1519cedf3169,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: f4ac8d67aa873fb47abb1519cedf3169,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: f4ac8d67aa873fb47abb1519cedf3169,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: f4ac8d67aa873fb47abb1519cedf3169,
type: 3}
propertyPath: m_RootOrder
value: 9
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: f4ac8d67aa873fb47abb1519cedf3169,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: f4ac8d67aa873fb47abb1519cedf3169,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6094138974463609005, guid: f4ac8d67aa873fb47abb1519cedf3169,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: f4ac8d67aa873fb47abb1519cedf3169, type: 3}
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs.meta
|
fileFormatVersion: 2
guid: 6581e342067b7f74ba5e22071240e046
folderAsset: yes
timeCreated: 1504810024
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models.meta
|
fileFormatVersion: 2
guid: 256a45184bddf5744969fe65ae0cd2c1
folderAsset: yes
timeCreated: 1504810024
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Textures/big_ship_d3.png.meta
|
fileFormatVersion: 2
guid: a6217f4dca66c004495c926cffb736de
timeCreated: 1504814085
licenseType: Store
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -1
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 1024
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
- buildTarget: Standalone
maxTextureSize: 1024
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
- buildTarget: iPhone
maxTextureSize: 512
textureFormat: 32
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 1
- buildTarget: Android
maxTextureSize: 1024
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Textures/big_ship_d2.png.meta
|
fileFormatVersion: 2
guid: 6c172e65d4aa85240a38d9e063e69f45
timeCreated: 1504812984
licenseType: Store
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -1
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 1024
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
- buildTarget: Standalone
maxTextureSize: 1024
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
- buildTarget: iPhone
maxTextureSize: 512
textureFormat: 32
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 1
- buildTarget: Android
maxTextureSize: 1024
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Textures/medium_ship_d.png.meta
|
fileFormatVersion: 2
guid: 45498177a7b12194c9ff631a2391e8dd
timeCreated: 1504810077
licenseType: Store
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -1
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 1024
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
- buildTarget: Standalone
maxTextureSize: 1024
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
- buildTarget: iPhone
maxTextureSize: 512
textureFormat: 32
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 1
- buildTarget: Android
maxTextureSize: 1024
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Textures/medium_ship_d2.png.meta
|
fileFormatVersion: 2
guid: c46e3b029f800fd4bb4daf41fac4b9e7
timeCreated: 1504879015
licenseType: Store
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -1
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 1024
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
- buildTarget: Standalone
maxTextureSize: 1024
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
- buildTarget: iPhone
maxTextureSize: 512
textureFormat: 32
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 1
- buildTarget: Android
maxTextureSize: 1024
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Textures/medium_ship_d3.png.meta
|
fileFormatVersion: 2
guid: 0463222f902747242bd537d6b4f54566
timeCreated: 1504879014
licenseType: Store
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -1
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 1024
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
- buildTarget: Standalone
maxTextureSize: 1024
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
- buildTarget: iPhone
maxTextureSize: 512
textureFormat: 32
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 1
- buildTarget: Android
maxTextureSize: 1024
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Textures/boats_01_d.png.meta
|
fileFormatVersion: 2
guid: 2062c07ead6ace640bbb68c150b710aa
timeCreated: 1504810076
licenseType: Store
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -1
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 1024
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
- buildTarget: Standalone
maxTextureSize: 1024
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
- buildTarget: iPhone
maxTextureSize: 512
textureFormat: 32
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 1
- buildTarget: Android
maxTextureSize: 1024
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Textures/boats_01_d2.png.meta
|
fileFormatVersion: 2
guid: a8f19c3a78c61b54f9e0ffe5d0492d19
timeCreated: 1504879487
licenseType: Store
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -1
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 1024
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
- buildTarget: Standalone
maxTextureSize: 1024
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
- buildTarget: iPhone
maxTextureSize: 512
textureFormat: 32
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 1
- buildTarget: Android
maxTextureSize: 1024
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Textures/boats_01_d3.png.meta
|
fileFormatVersion: 2
guid: d499436a2630f714484563001386c2f8
timeCreated: 1504880081
licenseType: Store
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -1
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 1024
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
- buildTarget: Standalone
maxTextureSize: 1024
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
- buildTarget: iPhone
maxTextureSize: 512
textureFormat: 32
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 1
- buildTarget: Android
maxTextureSize: 1024
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Textures/big_ship_d.png.meta
|
fileFormatVersion: 2
guid: a9f7b7bcafcae554ebd0cd42ed201422
timeCreated: 1504810077
licenseType: Store
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -1
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 1024
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
- buildTarget: Standalone
maxTextureSize: 1024
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
- buildTarget: iPhone
maxTextureSize: 512
textureFormat: 32
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 1
- buildTarget: Android
maxTextureSize: 1024
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Black_Ships.meta
|
fileFormatVersion: 2
guid: 25e0c9b4de0b95d40ae69adb143e0b53
folderAsset: yes
timeCreated: 1504884725
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Boat_Micro.prefab.meta
|
fileFormatVersion: 2
guid: cc903e4fb5f5f8d458fa673c0d565832
timeCreated: 1504810354
licenseType: Store
NativeFormatImporter:
mainObjectFileID: 100100000
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Platform.prefab.meta
|
fileFormatVersion: 2
guid: 90879ec93f3e71d4bad40d570fd97385
timeCreated: 1504810354
licenseType: Store
NativeFormatImporter:
mainObjectFileID: 100100000
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Box.prefab.meta
|
fileFormatVersion: 2
guid: b4c93329e8a4b1044b4050ee434f94c0
timeCreated: 1504810354
licenseType: Store
NativeFormatImporter:
mainObjectFileID: 100100000
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Ball.prefab.meta
|
fileFormatVersion: 2
guid: e8605335fc5ffac4c8b8998cac4ffe50
timeCreated: 1504810354
licenseType: Store
NativeFormatImporter:
mainObjectFileID: 100100000
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Cannon.prefab
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1595413567271760
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4143713472761518}
- component: {fileID: 33244317238889554}
- component: {fileID: 23474627555475608}
m_Layer: 0
m_Name: pirat_cannon
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 4294967295
m_IsActive: 1
--- !u!4 &4143713472761518
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1595413567271760}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 4529631924483644}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &33244317238889554
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1595413567271760}
m_Mesh: {fileID: 7614671844300925536, guid: e174a08d577359c44bd7930fac541c9f, type: 3}
--- !u!23 &23474627555475608
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1595413567271760}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 211485be4706e2546b2fa9e5261bede5, 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: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
--- !u!1 &1644207815284666
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4529631924483644}
m_Layer: 0
m_Name: Cannon
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 4294967295
m_IsActive: 1
--- !u!4 &4529631924483644
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1644207815284666}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 4143713472761518}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Green_Ships.meta
|
fileFormatVersion: 2
guid: cd5ffeb3df63fcd47a170ccf5fcc6a20
folderAsset: yes
timeCreated: 1504884725
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Ball.prefab
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1591112604528294
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4146234754183794}
- component: {fileID: 33015521569439896}
- component: {fileID: 23484120727680166}
m_Layer: 0
m_Name: Ball
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 4294967295
m_IsActive: 1
--- !u!4 &4146234754183794
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1591112604528294}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 4712908637102636}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &33015521569439896
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1591112604528294}
m_Mesh: {fileID: -3275889699395497356, guid: e174a08d577359c44bd7930fac541c9f, type: 3}
--- !u!23 &23484120727680166
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1591112604528294}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 211485be4706e2546b2fa9e5261bede5, 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: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
--- !u!1 &1624435625025032
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4712908637102636}
m_Layer: 0
m_Name: Ball
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 4294967295
m_IsActive: 1
--- !u!4 &4712908637102636
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1624435625025032}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 4146234754183794}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Box.prefab
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1234405385659422
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4826371912150428}
- component: {fileID: 33111688711850592}
- component: {fileID: 23117043087747274}
m_Layer: 0
m_Name: Box
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 4294967295
m_IsActive: 1
--- !u!4 &4826371912150428
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1234405385659422}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 4740778789488986}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &33111688711850592
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1234405385659422}
m_Mesh: {fileID: -982750818341469986, guid: e174a08d577359c44bd7930fac541c9f, type: 3}
--- !u!23 &23117043087747274
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1234405385659422}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 211485be4706e2546b2fa9e5261bede5, 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: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
--- !u!1 &1968567676994268
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4740778789488986}
m_Layer: 0
m_Name: Box
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 4294967295
m_IsActive: 1
--- !u!4 &4740778789488986
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1968567676994268}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 4826371912150428}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Boat_Micro.prefab
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1278229883157356
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4190650230327092}
- component: {fileID: 33467314348703668}
- component: {fileID: 23667934535106738}
m_Layer: 0
m_Name: pirate_boat_01
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 4294967295
m_IsActive: 1
--- !u!4 &4190650230327092
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1278229883157356}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 4425255655467000}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &33467314348703668
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1278229883157356}
m_Mesh: {fileID: 6699308218300607361, guid: e174a08d577359c44bd7930fac541c9f, type: 3}
--- !u!23 &23667934535106738
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1278229883157356}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 211485be4706e2546b2fa9e5261bede5, 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: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
--- !u!1 &1493986712044802
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4425255655467000}
m_Layer: 0
m_Name: Boat_Micro
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 4294967295
m_IsActive: 1
--- !u!4 &4425255655467000
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1493986712044802}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 4190650230327092}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Platform.prefab
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1220433930315908
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4368655908604692}
- component: {fileID: 33685239767977992}
- component: {fileID: 23881813661622308}
m_Layer: 0
m_Name: pirat_wood
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 4294967295
m_IsActive: 1
--- !u!4 &4368655908604692
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1220433930315908}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 4560557648384462}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &33685239767977992
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1220433930315908}
m_Mesh: {fileID: -8946231724581179214, guid: e174a08d577359c44bd7930fac541c9f, type: 3}
--- !u!23 &23881813661622308
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1220433930315908}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 211485be4706e2546b2fa9e5261bede5, 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: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
--- !u!1 &1356981169987902
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4560557648384462}
m_Layer: 0
m_Name: Platform
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 4294967295
m_IsActive: 1
--- !u!4 &4560557648384462
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1356981169987902}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 4368655908604692}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Blue_Ships.meta
|
fileFormatVersion: 2
guid: cea25ee388618334081c1961cb2798ad
folderAsset: yes
timeCreated: 1504884725
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Cannon.prefab.meta
|
fileFormatVersion: 2
guid: 9dc11a81feac2de49be864daa3b87259
timeCreated: 1504810354
licenseType: Store
NativeFormatImporter:
mainObjectFileID: 100100000
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Blue_Ships/boat_04_blue.prefab.meta
|
fileFormatVersion: 2
guid: f4ac8d67aa873fb47abb1519cedf3169
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Blue_Ships/boat_01_blue.prefab.meta
|
fileFormatVersion: 2
guid: 47effba544313e741af3bf7db5dbd398
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Blue_Ships/boat_03_blue.prefab
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1087150559683053229
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8633262064868692889}
- component: {fileID: 2706370491616000548}
- component: {fileID: 7840515311312930816}
m_Layer: 0
m_Name: boat_03_blue
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &8633262064868692889
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1087150559683053229}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &2706370491616000548
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1087150559683053229}
m_Mesh: {fileID: -5127661620044664574, guid: e174a08d577359c44bd7930fac541c9f, type: 3}
--- !u!23 &7840515311312930816
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1087150559683053229}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 3bf4f7ced7773894ab9e3e7a93bc1b7c, 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: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Blue_Ships/boat_04_blue.prefab
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1138163749874189552
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6094138974463609005}
- component: {fileID: 1850037405204262167}
- component: {fileID: 5098038702574218201}
m_Layer: 0
m_Name: boat_04_blue
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6094138974463609005
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1138163749874189552}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &1850037405204262167
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1138163749874189552}
m_Mesh: {fileID: 1181845383824549773, guid: e174a08d577359c44bd7930fac541c9f, type: 3}
--- !u!23 &5098038702574218201
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1138163749874189552}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 3bf4f7ced7773894ab9e3e7a93bc1b7c, 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: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Blue_Ships/boat_02_blue.prefab.meta
|
fileFormatVersion: 2
guid: 482a327ec432c7a4bb21186faf0a2765
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Blue_Ships/boat_01_blue.prefab
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &3309757510148701361
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8018596679738863958}
- component: {fileID: 5388967698302701442}
- component: {fileID: 7857821564408582732}
m_Layer: 0
m_Name: boat_01_blue
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &8018596679738863958
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3309757510148701361}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &5388967698302701442
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3309757510148701361}
m_Mesh: {fileID: 7248041548669669315, guid: e174a08d577359c44bd7930fac541c9f, type: 3}
--- !u!23 &7857821564408582732
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3309757510148701361}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 3a204780c2bda9744a2533ede9301f59, 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: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Blue_Ships/boat_02_blue.prefab
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1898284681201445234
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7784429271484338712}
- component: {fileID: 3778949271659834282}
- component: {fileID: 2804310304544651849}
m_Layer: 0
m_Name: boat_02_blue
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &7784429271484338712
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1898284681201445234}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &3778949271659834282
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1898284681201445234}
m_Mesh: {fileID: -4382739460997873096, guid: e174a08d577359c44bd7930fac541c9f, type: 3}
--- !u!23 &2804310304544651849
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1898284681201445234}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 31c6e969714f4e04e8d725e43366535e, 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: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Blue_Ships/boat_03_blue.prefab.meta
|
fileFormatVersion: 2
guid: abc73b8320cfebc4685edc41dfa46245
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Black_Ships/ship_level_4.prefab
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1138163749874189552
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6094138974463609005}
m_Layer: 0
m_Name: ship_level_4
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6094138974463609005
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1138163749874189552}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 7796529798757199489}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &4434595837266376117
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 9161307570795591762}
- component: {fileID: 6533933685610841734}
- component: {fileID: 9036701989636037448}
m_Layer: 0
m_Name: boat
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &9161307570795591762
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4434595837266376117}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 7796529798757199489}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &6533933685610841734
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4434595837266376117}
m_Mesh: {fileID: 7248041548669669315, guid: e174a08d577359c44bd7930fac541c9f, type: 3}
--- !u!23 &9036701989636037448
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4434595837266376117}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 5134ad0f4fc645b4a8e99a88724d182a, 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: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!1 &4807521456968422704
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7796529798757199489}
- component: {fileID: 3893525338128350031}
m_Layer: 0
m_Name: RotationRoot
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &7796529798757199489
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4807521456968422704}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 1.02, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 9161307570795591762}
m_Father: {fileID: 6094138974463609005}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!95 &3893525338128350031
Animator:
serializedVersion: 4
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4807521456968422704}
m_Enabled: 1
m_Avatar: {fileID: 0}
m_Controller: {fileID: 9100000, guid: cea6726aba95747fa8330df744f6fc5c, type: 2}
m_CullingMode: 0
m_UpdateMode: 0
m_ApplyRootMotion: 0
m_LinearVelocityBlending: 0
m_StabilizeFeet: 0
m_WarningMessage:
m_HasTransformHierarchy: 1
m_AllowConstantClipSamplingOptimization: 1
m_KeepAnimatorControllerStateOnDisable: 0
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Black_Ships/ship_1_anim.anim
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!74 &7400000
AnimationClip:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: ship_1_anim
serializedVersion: 6
m_Legacy: 0
m_Compressed: 0
m_UseHighQualityCurve: 1
m_RotationCurves: []
m_CompressedRotationCurves: []
m_EulerCurves:
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: {x: 0.512, y: 0, z: 0}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
tangentMode: 0
weightedMode: 0
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 1.3166667
value: {x: -3.441, y: 0, z: 0}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
tangentMode: 0
weightedMode: 0
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 2.6333334
value: {x: 0.512, y: 0, z: 0}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
tangentMode: 0
weightedMode: 0
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
path: boat
m_PositionCurves:
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: {x: 0, y: 0, z: 0}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
tangentMode: 0
weightedMode: 0
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 2.6333334
value: {x: 0, y: 0, z: 0}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
tangentMode: 0
weightedMode: 0
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
path: boat
m_ScaleCurves: []
m_FloatCurves: []
m_PPtrCurves: []
m_SampleRate: 60
m_WrapMode: 0
m_Bounds:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 0, y: 0, z: 0}
m_ClipBindingConstant:
genericBindings:
- serializedVersion: 2
path: 3631121226
attribute: 4
script: {fileID: 0}
typeID: 4
customType: 4
isPPtrCurve: 0
- serializedVersion: 2
path: 3631121226
attribute: 1
script: {fileID: 0}
typeID: 4
customType: 0
isPPtrCurve: 0
pptrCurveMapping: []
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 2.6333334
m_OrientationOffsetY: 0
m_Level: 0
m_CycleOffset: 0
m_HasAdditiveReferencePose: 0
m_LoopTime: 1
m_LoopBlend: 0
m_LoopBlendOrientation: 0
m_LoopBlendPositionY: 0
m_LoopBlendPositionXZ: 0
m_KeepOriginalOrientation: 0
m_KeepOriginalPositionY: 1
m_KeepOriginalPositionXZ: 0
m_HeightFromFeet: 0
m_Mirror: 0
m_EditorCurves:
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2.6333334
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_LocalPosition.x
path: boat
classID: 4
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2.6333334
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_LocalPosition.y
path: boat
classID: 4
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2.6333334
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_LocalPosition.z
path: boat
classID: 4
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0.512
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1.3166667
value: -3.441
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2.6333334
value: 0.512
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: localEulerAnglesRaw.x
path: boat
classID: 4
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1.3166667
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2.6333334
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: localEulerAnglesRaw.y
path: boat
classID: 4
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1.3166667
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2.6333334
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: localEulerAnglesRaw.z
path: boat
classID: 4
script: {fileID: 0}
m_EulerEditorCurves:
- curve:
serializedVersion: 2
m_Curve: []
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_LocalEulerAngles.x
path: boat
classID: 4
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve: []
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_LocalEulerAngles.y
path: boat
classID: 4
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve: []
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_LocalEulerAngles.z
path: boat
classID: 4
script: {fileID: 0}
m_HasGenericRootTransform: 0
m_HasMotionFloatCurves: 0
m_Events: []
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Black_Ships/ship_level_2.prefab
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1138163749874189552
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6094138974463609005}
m_Layer: 0
m_Name: ship_level_2
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6094138974463609005
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1138163749874189552}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 2, y: 2, z: 2}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 7796529798757199489}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &4807521456968422704
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7796529798757199489}
- component: {fileID: 3893525338128350031}
m_Layer: 0
m_Name: RotationRoot
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &7796529798757199489
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4807521456968422704}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 1.02, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 3921280161009191067}
m_Father: {fileID: 6094138974463609005}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!95 &3893525338128350031
Animator:
serializedVersion: 4
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4807521456968422704}
m_Enabled: 1
m_Avatar: {fileID: 0}
m_Controller: {fileID: 9100000, guid: cea6726aba95747fa8330df744f6fc5c, type: 2}
m_CullingMode: 0
m_UpdateMode: 0
m_ApplyRootMotion: 0
m_LinearVelocityBlending: 0
m_StabilizeFeet: 0
m_WarningMessage:
m_HasTransformHierarchy: 1
m_AllowConstantClipSamplingOptimization: 1
m_KeepAnimatorControllerStateOnDisable: 0
--- !u!1 &5670867766922534319
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3921280161009191067}
- component: {fileID: 7217678123657666854}
- component: {fileID: 3272910482217259778}
m_Layer: 0
m_Name: boat
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &3921280161009191067
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5670867766922534319}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 7796529798757199489}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &7217678123657666854
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5670867766922534319}
m_Mesh: {fileID: -5127661620044664574, guid: e174a08d577359c44bd7930fac541c9f, type: 3}
--- !u!23 &3272910482217259778
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5670867766922534319}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 211485be4706e2546b2fa9e5261bede5, 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: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Black_Ships/ship_level_3.prefab.meta
|
fileFormatVersion: 2
guid: 3fcd4616e7cd943fa8c845f80f4100ba
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Black_Ships/ship_level_1.prefab.meta
|
fileFormatVersion: 2
guid: e8b647ff693981c49904cc8de1739130
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Black_Ships/RotationRoot.controller
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1107 &-351552880960812248
AnimatorStateMachine:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Base Layer
m_ChildStates:
- serializedVersion: 1
m_State: {fileID: 3967158683218544669}
m_Position: {x: 200, y: 0, z: 0}
m_ChildStateMachines: []
m_AnyStateTransitions: []
m_EntryTransitions: []
m_StateMachineTransitions: {}
m_StateMachineBehaviours: []
m_AnyStatePosition: {x: 50, y: 20, z: 0}
m_EntryPosition: {x: 50, y: 120, z: 0}
m_ExitPosition: {x: 800, y: 120, z: 0}
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
m_DefaultState: {fileID: 3967158683218544669}
--- !u!91 &9100000
AnimatorController:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: RotationRoot
serializedVersion: 5
m_AnimatorParameters: []
m_AnimatorLayers:
- serializedVersion: 5
m_Name: Base Layer
m_StateMachine: {fileID: -351552880960812248}
m_Mask: {fileID: 0}
m_Motions: []
m_Behaviours: []
m_BlendingMode: 0
m_SyncedLayerIndex: -1
m_DefaultWeight: 0
m_IKPass: 0
m_SyncedLayerAffectsTiming: 0
m_Controller: {fileID: 9100000}
--- !u!1102 &3967158683218544669
AnimatorState:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: ship_1_anim
m_Speed: 1
m_CycleOffset: 0
m_Transitions: []
m_StateMachineBehaviours: []
m_Position: {x: 50, y: 50, z: 0}
m_IKOnFeet: 0
m_WriteDefaultValues: 1
m_Mirror: 0
m_SpeedParameterActive: 0
m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0
m_Motion: {fileID: 7400000, guid: 51c9b75db689244b4937057a94d1116b, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Black_Ships/ship_level_4.prefab.meta
|
fileFormatVersion: 2
guid: 8bd5747e2577f4d158c3c7b00929ca48
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Black_Ships/ship_1_anim.anim.meta
|
fileFormatVersion: 2
guid: 51c9b75db689244b4937057a94d1116b
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 7400000
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Black_Ships/ship_level_3.prefab
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1138163749874189552
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6094138974463609005}
m_Layer: 0
m_Name: ship_level_3
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6094138974463609005
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1138163749874189552}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1.5, y: 1.5, z: 1.5}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 7796529798757199489}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &4807521456968422704
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7796529798757199489}
- component: {fileID: 3893525338128350031}
m_Layer: 0
m_Name: RotationRoot
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &7796529798757199489
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4807521456968422704}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 1.02, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 4164394858730628049}
m_Father: {fileID: 6094138974463609005}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!95 &3893525338128350031
Animator:
serializedVersion: 4
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4807521456968422704}
m_Enabled: 1
m_Avatar: {fileID: 0}
m_Controller: {fileID: 9100000, guid: cea6726aba95747fa8330df744f6fc5c, type: 2}
m_CullingMode: 0
m_UpdateMode: 0
m_ApplyRootMotion: 0
m_LinearVelocityBlending: 0
m_StabilizeFeet: 0
m_WarningMessage:
m_HasTransformHierarchy: 1
m_AllowConstantClipSamplingOptimization: 1
m_KeepAnimatorControllerStateOnDisable: 0
--- !u!1 &5734544669857274043
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4164394858730628049}
- component: {fileID: 7042706733766105699}
- component: {fileID: 8297837781409450880}
m_Layer: 0
m_Name: boat
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4164394858730628049
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5734544669857274043}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 7796529798757199489}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &7042706733766105699
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5734544669857274043}
m_Mesh: {fileID: -4382739460997873096, guid: e174a08d577359c44bd7930fac541c9f, type: 3}
--- !u!23 &8297837781409450880
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5734544669857274043}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 23e337b530a734742a64f510865449ef, 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: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Black_Ships/RotationRoot.controller.meta
|
fileFormatVersion: 2
guid: cea6726aba95747fa8330df744f6fc5c
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 9100000
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Black_Ships/ship_level_2.prefab.meta
|
fileFormatVersion: 2
guid: 6aa5557022e0a48a5bac5fcf69932322
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Black_Ships/ship_level_1.prefab
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1082489029556907920
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4578894032371319224}
- component: {fileID: 7364127337227977266}
- component: {fileID: 299054481654025866}
m_Layer: 0
m_Name: boat
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4578894032371319224
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1082489029556907920}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 7796529798757199489}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &7364127337227977266
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1082489029556907920}
m_Mesh: {fileID: 1181845383824549773, guid: e174a08d577359c44bd7930fac541c9f, type: 3}
--- !u!23 &299054481654025866
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1082489029556907920}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 211485be4706e2546b2fa9e5261bede5, 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: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!1 &1138163749874189552
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6094138974463609005}
m_Layer: 0
m_Name: ship_level_1
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6094138974463609005
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1138163749874189552}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 2, y: 2, z: 2}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 7796529798757199489}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &4807521456968422704
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7796529798757199489}
- component: {fileID: 3893525338128350031}
m_Layer: 0
m_Name: RotationRoot
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &7796529798757199489
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4807521456968422704}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 1.02, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 4578894032371319224}
m_Father: {fileID: 6094138974463609005}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!95 &3893525338128350031
Animator:
serializedVersion: 4
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4807521456968422704}
m_Enabled: 1
m_Avatar: {fileID: 0}
m_Controller: {fileID: 9100000, guid: cea6726aba95747fa8330df744f6fc5c, type: 2}
m_CullingMode: 0
m_UpdateMode: 0
m_ApplyRootMotion: 0
m_LinearVelocityBlending: 0
m_StabilizeFeet: 0
m_WarningMessage:
m_HasTransformHierarchy: 1
m_AllowConstantClipSamplingOptimization: 1
m_KeepAnimatorControllerStateOnDisable: 0
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Green_Ships/boat_01_Green.prefab
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &3309757510148701361
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8018596679738863958}
- component: {fileID: 5388967698302701442}
- component: {fileID: 7857821564408582732}
m_Layer: 0
m_Name: boat_01_Green
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &8018596679738863958
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3309757510148701361}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &5388967698302701442
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3309757510148701361}
m_Mesh: {fileID: 7248041548669669315, guid: e174a08d577359c44bd7930fac541c9f, type: 3}
--- !u!23 &7857821564408582732
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3309757510148701361}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: bff6f628937f73e40bd366ab627d0dca, 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: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Green_Ships/boat_03_Green.prefab.meta
|
fileFormatVersion: 2
guid: 9dcce20822f1afe49a663f58af17ccbb
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Green_Ships/boat_02_Green.prefab.meta
|
fileFormatVersion: 2
guid: e17be3aeab9be6e49a01e6bb7138d655
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Green_Ships/boat_01_Green.prefab.meta
|
fileFormatVersion: 2
guid: 007b9fcb952bfc34f8099d5831801a7b
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Green_Ships/boat_02_Green.prefab
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1898284681201445234
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7784429271484338712}
- component: {fileID: 3778949271659834282}
- component: {fileID: 2804310304544651849}
m_Layer: 0
m_Name: boat_02_Green
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &7784429271484338712
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1898284681201445234}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &3778949271659834282
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1898284681201445234}
m_Mesh: {fileID: -4382739460997873096, guid: e174a08d577359c44bd7930fac541c9f, type: 3}
--- !u!23 &2804310304544651849
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1898284681201445234}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 09caf7060784d08468a1ca903b09e814, 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: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Green_Ships/boat_04_Green.prefab.meta
|
fileFormatVersion: 2
guid: a9479203cb5a8c04298f9a45a2215834
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Green_Ships/boat_04_Green.prefab
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1138163749874189552
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6094138974463609005}
- component: {fileID: 1850037405204262167}
- component: {fileID: 5098038702574218201}
m_Layer: 0
m_Name: boat_04_Green
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6094138974463609005
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1138163749874189552}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &1850037405204262167
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1138163749874189552}
m_Mesh: {fileID: 1181845383824549773, guid: e174a08d577359c44bd7930fac541c9f, type: 3}
--- !u!23 &5098038702574218201
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1138163749874189552}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 4e561fbd2f14c0643a92d1423a9bd937, 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: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Prefabs/Green_Ships/boat_03_Green.prefab
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1087150559683053229
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8633262064868692889}
- component: {fileID: 2706370491616000548}
- component: {fileID: 7840515311312930816}
m_Layer: 0
m_Name: boat_03_Green
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &8633262064868692889
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1087150559683053229}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &2706370491616000548
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1087150559683053229}
m_Mesh: {fileID: -5127661620044664574, guid: e174a08d577359c44bd7930fac541c9f, type: 3}
--- !u!23 &7840515311312930816
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1087150559683053229}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 4e561fbd2f14c0643a92d1423a9bd937, 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: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models/Materials.meta
|
fileFormatVersion: 2
guid: fef770e82ccc0cb4b97e672c6c2ee051
folderAsset: yes
timeCreated: 1504810077
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models/Pirat_Boats_01.fbx.meta
|
fileFormatVersion: 2
guid: e174a08d577359c44bd7930fac541c9f
ModelImporter:
serializedVersion: 26
internalIDToNameTable: []
externalObjects: {}
materials:
importMaterials: 0
materialName: 0
materialSearch: 1
materialLocation: 1
animations:
legacyGenerateAnimations: 4
bakeSimulation: 0
resampleCurves: 1
optimizeGameObjects: 0
motionNodeName:
rigImportErrors:
rigImportWarnings:
animationImportErrors:
animationImportWarnings:
animationRetargetingWarnings:
animationDoRetargetingWarnings: 0
importAnimatedCustomProperties: 0
importConstraints: 0
animationCompression: 1
animationRotationError: 0.5
animationPositionError: 0.5
animationScaleError: 0.5
animationWrapMode: 0
extraExposedTransformPaths: []
extraUserProperties: []
clipAnimations: []
isReadable: 0
meshes:
lODScreenPercentages: []
globalScale: 1
meshCompression: 0
addColliders: 0
useSRGBMaterialColor: 1
sortHierarchyByName: 1
importVisibility: 0
importBlendShapes: 0
importCameras: 0
importLights: 0
swapUVChannels: 0
generateSecondaryUV: 1
useFileUnits: 1
keepQuads: 0
weldVertices: 1
preserveHierarchy: 0
skinWeightsMode: 0
maxBonesPerVertex: 4
minBoneWeight: 0.001
meshOptimizationFlags: -1
indexFormat: 0
secondaryUVAngleDistortion: 8
secondaryUVAreaDistortion: 15.000001
secondaryUVHardAngle: 88
secondaryUVPackMargin: 4
useFileScale: 1
tangentSpace:
normalSmoothAngle: 60
normalImportMode: 0
tangentImportMode: 3
normalCalculationMode: 4
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
blendShapeNormalImportMode: 1
normalSmoothingSource: 0
referencedClips: []
importAnimation: 0
copyAvatar: 0
humanDescription:
serializedVersion: 3
human: []
skeleton: []
armTwist: 0.5
foreArmTwist: 0.5
upperLegTwist: 0.5
legTwist: 0.5
armStretch: 0.05
legStretch: 0.05
feetSpacing: 0
globalScale: 1
rootMotionBoneName:
hasTranslationDoF: 0
hasExtraRoot: 0
skeletonHasParents: 1
lastHumanDescriptionAvatarSource: {instanceID: 0}
animationType: 0
humanoidOversampling: 1
additionalBone: 0
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models/Materials/medium_ship_d.mat.meta
|
fileFormatVersion: 2
guid: 23e337b530a734742a64f510865449ef
timeCreated: 1504810077
licenseType: Store
NativeFormatImporter:
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models/Materials/big_ship_d2.mat.meta
|
fileFormatVersion: 2
guid: 3a204780c2bda9744a2533ede9301f59
timeCreated: 1504810077
licenseType: Store
NativeFormatImporter:
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models/Materials/big_ship_d3.mat.meta
|
fileFormatVersion: 2
guid: bff6f628937f73e40bd366ab627d0dca
timeCreated: 1504810077
licenseType: Store
NativeFormatImporter:
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models/Materials/medium_ship_d.mat
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: medium_ship_d
m_Shader: {fileID: 10704, guid: 0000000000000000f000000000000000, type: 0}
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: 45498177a7b12194c9ff631a2391e8dd, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models/Materials/boats_01_d.mat
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: boats_01_d
m_Shader: {fileID: 10704, guid: 0000000000000000f000000000000000, type: 0}
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: 2062c07ead6ace640bbb68c150b710aa, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _Shininess: 0.078125
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 0.8, g: 0.8, b: 0.8, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models/Materials/medium_ship_d3.mat.meta
|
fileFormatVersion: 2
guid: 09caf7060784d08468a1ca903b09e814
timeCreated: 1504810077
licenseType: Store
NativeFormatImporter:
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models/Materials/medium_ship_d2.mat.meta
|
fileFormatVersion: 2
guid: 31c6e969714f4e04e8d725e43366535e
timeCreated: 1504810077
licenseType: Store
NativeFormatImporter:
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models/Materials/big_ship_d2.mat
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: big_ship_d2
m_Shader: {fileID: 10704, guid: 0000000000000000f000000000000000, type: 0}
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: 6c172e65d4aa85240a38d9e063e69f45, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 0.8, g: 0.8, b: 0.8, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models/Materials/big_ship_d3.mat
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: big_ship_d3
m_Shader: {fileID: 10704, guid: 0000000000000000f000000000000000, type: 0}
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: a6217f4dca66c004495c926cffb736de, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 0.8, g: 0.8, b: 0.8, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models/Materials/big_ship_d.mat
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: big_ship_d
m_Shader: {fileID: 10704, guid: 0000000000000000f000000000000000, type: 0}
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: a9f7b7bcafcae554ebd0cd42ed201422, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _Shininess: 0.078125
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 0.8, g: 0.8, b: 0.8, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models/Materials/boats_01_d.mat.meta
|
fileFormatVersion: 2
guid: 211485be4706e2546b2fa9e5261bede5
timeCreated: 1504810077
licenseType: Store
NativeFormatImporter:
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models/Materials/medium_ship_d3.mat
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: medium_ship_d3
m_Shader: {fileID: 10704, guid: 0000000000000000f000000000000000, type: 0}
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: 0463222f902747242bd537d6b4f54566, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models/Materials/boats_01_d3.mat
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: boats_01_d3
m_Shader: {fileID: 10704, guid: 0000000000000000f000000000000000, type: 0}
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: d499436a2630f714484563001386c2f8, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 0.8, g: 0.8, b: 0.8, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models/Materials/boats_01_d2.mat
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: boats_01_d2
m_Shader: {fileID: 10704, guid: 0000000000000000f000000000000000, type: 0}
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: a8f19c3a78c61b54f9e0ffe5d0492d19, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 0.8, g: 0.8, b: 0.8, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models/Materials/medium_ship_d2.mat
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: medium_ship_d2
m_Shader: {fileID: 10704, guid: 0000000000000000f000000000000000, type: 0}
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: c46e3b029f800fd4bb4daf41fac4b9e7, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models/Materials/boats_01_d3.mat.meta
|
fileFormatVersion: 2
guid: 4e561fbd2f14c0643a92d1423a9bd937
timeCreated: 1504810077
licenseType: Store
NativeFormatImporter:
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models/Materials/boats_01_d2.mat.meta
|
fileFormatVersion: 2
guid: 3bf4f7ced7773894ab9e3e7a93bc1b7c
timeCreated: 1504810077
licenseType: Store
NativeFormatImporter:
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models
|
solana_public_repos/solana-game-examples/seven-seas/unity/Assets/Pirate_Ship_Pack/Models/Materials/big_ship_d.mat.meta
|
fileFormatVersion: 2
guid: 5134ad0f4fc645b4a8e99a88724d182a
timeCreated: 1504810077
licenseType: Store
NativeFormatImporter:
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:
| 0
|
solana_public_repos/solana-game-examples/seven-seas
|
solana_public_repos/solana-game-examples/seven-seas/app/next.config.js
|
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
}
module.exports = nextConfig
| 0
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.