initial commit
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 42f6035196924ba44bab7f28f41b67fb
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
After Width: | Height: | Size: 78 B |
@@ -0,0 +1,350 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0415f46fc23af284da343f01713b8c27
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 11
|
||||
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
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 0
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 0
|
||||
wrapV: 0
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 3
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 4
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 0
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 4
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline:
|
||||
- - {x: 0, y: 2}
|
||||
- {x: -0.09813535, y: 1.9975909}
|
||||
- {x: -0.19603428, y: 1.9903694}
|
||||
- {x: -0.29346094, y: 1.978353}
|
||||
- {x: -0.39018065, y: 1.9615705}
|
||||
- {x: -0.4859604, y: 1.9400625}
|
||||
- {x: -0.5805693, y: 1.9138807}
|
||||
- {x: -0.67377967, y: 1.8830881}
|
||||
- {x: -0.76536685, y: 1.8477591}
|
||||
- {x: -0.8551101, y: 1.8079786}
|
||||
- {x: -0.9427934, y: 1.7638426}
|
||||
- {x: -1.0282055, y: 1.7154572}
|
||||
- {x: -1.1111405, y: 1.6629392}
|
||||
- {x: -1.1913986, y: 1.606415}
|
||||
- {x: -1.2687867, y: 1.5460209}
|
||||
- {x: -1.343118, y: 1.4819021}
|
||||
- {x: -1.4142137, y: 1.4142134}
|
||||
- {x: -1.4819024, y: 1.3431177}
|
||||
- {x: -1.5460211, y: 1.2687864}
|
||||
- {x: -1.6064153, y: 1.1913984}
|
||||
- {x: -1.6629394, y: 1.1111403}
|
||||
- {x: -1.7154574, y: 1.0282052}
|
||||
- {x: -1.7638427, y: 0.94279313}
|
||||
- {x: -1.8079787, y: 0.8551098}
|
||||
- {x: -1.8477592, y: 0.76536644}
|
||||
- {x: -1.8830884, y: 0.6737792}
|
||||
- {x: -1.9138808, y: 0.5805688}
|
||||
- {x: -1.9400626, y: 0.48595977}
|
||||
- {x: -1.9615707, y: 0.39018002}
|
||||
- {x: -1.9783531, y: 0.29346028}
|
||||
- {x: -1.9903696, y: 0.19603357}
|
||||
- {x: -1.9975909, y: 0.098134585}
|
||||
- {x: -2, y: -0.0000008026785}
|
||||
- {x: -1.9975909, y: -0.09813619}
|
||||
- {x: -1.9903693, y: -0.19603516}
|
||||
- {x: -1.9783529, y: -0.29346186}
|
||||
- {x: -1.9615704, y: -0.3901816}
|
||||
- {x: -1.9400623, y: -0.48596132}
|
||||
- {x: -1.9138803, y: -0.58057034}
|
||||
- {x: -1.8830878, y: -0.67378074}
|
||||
- {x: -1.8477587, y: -0.7653679}
|
||||
- {x: -1.8079782, y: -0.855111}
|
||||
- {x: -1.7638422, y: -0.9427941}
|
||||
- {x: -1.715457, y: -1.028206}
|
||||
- {x: -1.6629391, y: -1.1111407}
|
||||
- {x: -1.606415, y: -1.1913987}
|
||||
- {x: -1.546021, y: -1.2687865}
|
||||
- {x: -1.4819025, y: -1.3431177}
|
||||
- {x: -1.4142139, y: -1.4142132}
|
||||
- {x: -1.3431184, y: -1.4819018}
|
||||
- {x: -1.2687873, y: -1.5460204}
|
||||
- {x: -1.1913995, y: -1.6064144}
|
||||
- {x: -1.1111416, y: -1.6629385}
|
||||
- {x: -1.0282067, y: -1.7154565}
|
||||
- {x: -0.9427949, y: -1.7638417}
|
||||
- {x: -0.85511184, y: -1.8079778}
|
||||
- {x: -0.76536876, y: -1.8477583}
|
||||
- {x: -0.6737818, y: -1.8830874}
|
||||
- {x: -0.5805717, y: -1.91388}
|
||||
- {x: -0.48596293, y: -1.9400618}
|
||||
- {x: -0.39018345, y: -1.96157}
|
||||
- {x: -0.29346398, y: -1.9783525}
|
||||
- {x: -0.1960375, y: -1.9903691}
|
||||
- {x: -0.09813879, y: -1.9975908}
|
||||
- {x: -0.0000036398517, y: -2}
|
||||
- {x: 0.098131515, y: -1.9975911}
|
||||
- {x: 0.19603026, y: -1.9903698}
|
||||
- {x: 0.29345676, y: -1.9783536}
|
||||
- {x: 0.3901763, y: -1.9615715}
|
||||
- {x: 0.48595586, y: -1.9400636}
|
||||
- {x: 0.58056474, y: -1.913882}
|
||||
- {x: 0.67377496, y: -1.8830898}
|
||||
- {x: 0.765362, y: -1.847761}
|
||||
- {x: 0.8551053, y: -1.8079809}
|
||||
- {x: 0.94278854, y: -1.7638452}
|
||||
- {x: 1.0282005, y: -1.7154602}
|
||||
- {x: 1.1111355, y: -1.6629425}
|
||||
- {x: 1.1913936, y: -1.6064187}
|
||||
- {x: 1.2687817, y: -1.5460249}
|
||||
- {x: 1.3431131, y: -1.4819067}
|
||||
- {x: 1.4142088, y: -1.4142184}
|
||||
- {x: 1.4818976, y: -1.3431231}
|
||||
- {x: 1.5460167, y: -1.2687918}
|
||||
- {x: 1.6064112, y: -1.1914037}
|
||||
- {x: 1.6629357, y: -1.1111456}
|
||||
- {x: 1.7154542, y: -1.0282105}
|
||||
- {x: 1.7638398, y: -0.94279844}
|
||||
- {x: 1.8079762, y: -0.855115}
|
||||
- {x: 1.8477571, y: -0.76537156}
|
||||
- {x: 1.8830866, y: -0.6737842}
|
||||
- {x: 1.9138794, y: -0.5805737}
|
||||
- {x: 1.9400615, y: -0.48596448}
|
||||
- {x: 1.9615698, y: -0.39018452}
|
||||
- {x: 1.9783524, y: -0.29346457}
|
||||
- {x: 1.9903691, y: -0.19603767}
|
||||
- {x: 1.9975908, y: -0.09813846}
|
||||
- {x: 2, y: -0.0000028371733}
|
||||
- {x: 1.997591, y: 0.0981328}
|
||||
- {x: 1.9903697, y: 0.19603202}
|
||||
- {x: 1.9783533, y: 0.29345897}
|
||||
- {x: 1.9615709, y: 0.39017895}
|
||||
- {x: 1.9400629, y: 0.48595896}
|
||||
- {x: 1.9138811, y: 0.58056825}
|
||||
- {x: 1.8830885, y: 0.6737789}
|
||||
- {x: 1.8477592, y: 0.7653663}
|
||||
- {x: 1.8079787, y: 0.8551099}
|
||||
- {x: 1.7638426, y: 0.9427934}
|
||||
- {x: 1.7154571, y: 1.0282056}
|
||||
- {x: 1.662939, y: 1.1111408}
|
||||
- {x: 1.6064146, y: 1.1913992}
|
||||
- {x: 1.5460203, y: 1.2687874}
|
||||
- {x: 1.4819014, y: 1.3431189}
|
||||
- {x: 1.4142125, y: 1.4142147}
|
||||
- {x: 1.3431165, y: 1.4819036}
|
||||
- {x: 1.2687849, y: 1.5460223}
|
||||
- {x: 1.1913966, y: 1.6064166}
|
||||
- {x: 1.1111382, y: 1.6629407}
|
||||
- {x: 1.0282029, y: 1.7154588}
|
||||
- {x: 0.94279057, y: 1.7638441}
|
||||
- {x: 0.85510695, y: 1.8079801}
|
||||
- {x: 0.76536334, y: 1.8477606}
|
||||
- {x: 0.67377585, y: 1.8830895}
|
||||
- {x: 0.58056515, y: 1.9138819}
|
||||
- {x: 0.48595583, y: 1.9400636}
|
||||
- {x: 0.3901758, y: 1.9615716}
|
||||
- {x: 0.29345578, y: 1.9783537}
|
||||
- {x: 0.1960288, y: 1.99037}
|
||||
- {x: 0.09812956, y: 1.9975911}
|
||||
physicsShape:
|
||||
- - {x: 0, y: 2}
|
||||
- {x: -0.09813535, y: 1.9975909}
|
||||
- {x: -0.19603428, y: 1.9903694}
|
||||
- {x: -0.29346094, y: 1.978353}
|
||||
- {x: -0.39018065, y: 1.9615705}
|
||||
- {x: -0.4859604, y: 1.9400625}
|
||||
- {x: -0.5805693, y: 1.9138807}
|
||||
- {x: -0.67377967, y: 1.8830881}
|
||||
- {x: -0.76536685, y: 1.8477591}
|
||||
- {x: -0.8551101, y: 1.8079786}
|
||||
- {x: -0.9427934, y: 1.7638426}
|
||||
- {x: -1.0282055, y: 1.7154572}
|
||||
- {x: -1.1111405, y: 1.6629392}
|
||||
- {x: -1.1913986, y: 1.606415}
|
||||
- {x: -1.2687867, y: 1.5460209}
|
||||
- {x: -1.343118, y: 1.4819021}
|
||||
- {x: -1.4142137, y: 1.4142134}
|
||||
- {x: -1.4819024, y: 1.3431177}
|
||||
- {x: -1.5460211, y: 1.2687864}
|
||||
- {x: -1.6064153, y: 1.1913984}
|
||||
- {x: -1.6629394, y: 1.1111403}
|
||||
- {x: -1.7154574, y: 1.0282052}
|
||||
- {x: -1.7638427, y: 0.94279313}
|
||||
- {x: -1.8079787, y: 0.8551098}
|
||||
- {x: -1.8477592, y: 0.76536644}
|
||||
- {x: -1.8830884, y: 0.6737792}
|
||||
- {x: -1.9138808, y: 0.5805688}
|
||||
- {x: -1.9400626, y: 0.48595977}
|
||||
- {x: -1.9615707, y: 0.39018002}
|
||||
- {x: -1.9783531, y: 0.29346028}
|
||||
- {x: -1.9903696, y: 0.19603357}
|
||||
- {x: -1.9975909, y: 0.098134585}
|
||||
- {x: -2, y: -0.0000008026785}
|
||||
- {x: -1.9975909, y: -0.09813619}
|
||||
- {x: -1.9903693, y: -0.19603516}
|
||||
- {x: -1.9783529, y: -0.29346186}
|
||||
- {x: -1.9615704, y: -0.3901816}
|
||||
- {x: -1.9400623, y: -0.48596132}
|
||||
- {x: -1.9138803, y: -0.58057034}
|
||||
- {x: -1.8830878, y: -0.67378074}
|
||||
- {x: -1.8477587, y: -0.7653679}
|
||||
- {x: -1.8079782, y: -0.855111}
|
||||
- {x: -1.7638422, y: -0.9427941}
|
||||
- {x: -1.715457, y: -1.028206}
|
||||
- {x: -1.6629391, y: -1.1111407}
|
||||
- {x: -1.606415, y: -1.1913987}
|
||||
- {x: -1.546021, y: -1.2687865}
|
||||
- {x: -1.4819025, y: -1.3431177}
|
||||
- {x: -1.4142139, y: -1.4142132}
|
||||
- {x: -1.3431184, y: -1.4819018}
|
||||
- {x: -1.2687873, y: -1.5460204}
|
||||
- {x: -1.1913995, y: -1.6064144}
|
||||
- {x: -1.1111416, y: -1.6629385}
|
||||
- {x: -1.0282067, y: -1.7154565}
|
||||
- {x: -0.9427949, y: -1.7638417}
|
||||
- {x: -0.85511184, y: -1.8079778}
|
||||
- {x: -0.76536876, y: -1.8477583}
|
||||
- {x: -0.6737818, y: -1.8830874}
|
||||
- {x: -0.5805717, y: -1.91388}
|
||||
- {x: -0.48596293, y: -1.9400618}
|
||||
- {x: -0.39018345, y: -1.96157}
|
||||
- {x: -0.29346398, y: -1.9783525}
|
||||
- {x: -0.1960375, y: -1.9903691}
|
||||
- {x: -0.09813879, y: -1.9975908}
|
||||
- {x: -0.0000036398517, y: -2}
|
||||
- {x: 0.098131515, y: -1.9975911}
|
||||
- {x: 0.19603026, y: -1.9903698}
|
||||
- {x: 0.29345676, y: -1.9783536}
|
||||
- {x: 0.3901763, y: -1.9615715}
|
||||
- {x: 0.48595586, y: -1.9400636}
|
||||
- {x: 0.58056474, y: -1.913882}
|
||||
- {x: 0.67377496, y: -1.8830898}
|
||||
- {x: 0.765362, y: -1.847761}
|
||||
- {x: 0.8551053, y: -1.8079809}
|
||||
- {x: 0.94278854, y: -1.7638452}
|
||||
- {x: 1.0282005, y: -1.7154602}
|
||||
- {x: 1.1111355, y: -1.6629425}
|
||||
- {x: 1.1913936, y: -1.6064187}
|
||||
- {x: 1.2687817, y: -1.5460249}
|
||||
- {x: 1.3431131, y: -1.4819067}
|
||||
- {x: 1.4142088, y: -1.4142184}
|
||||
- {x: 1.4818976, y: -1.3431231}
|
||||
- {x: 1.5460167, y: -1.2687918}
|
||||
- {x: 1.6064112, y: -1.1914037}
|
||||
- {x: 1.6629357, y: -1.1111456}
|
||||
- {x: 1.7154542, y: -1.0282105}
|
||||
- {x: 1.7638398, y: -0.94279844}
|
||||
- {x: 1.8079762, y: -0.855115}
|
||||
- {x: 1.8477571, y: -0.76537156}
|
||||
- {x: 1.8830866, y: -0.6737842}
|
||||
- {x: 1.9138794, y: -0.5805737}
|
||||
- {x: 1.9400615, y: -0.48596448}
|
||||
- {x: 1.9615698, y: -0.39018452}
|
||||
- {x: 1.9783524, y: -0.29346457}
|
||||
- {x: 1.9903691, y: -0.19603767}
|
||||
- {x: 1.9975908, y: -0.09813846}
|
||||
- {x: 2, y: -0.0000028371733}
|
||||
- {x: 1.997591, y: 0.0981328}
|
||||
- {x: 1.9903697, y: 0.19603202}
|
||||
- {x: 1.9783533, y: 0.29345897}
|
||||
- {x: 1.9615709, y: 0.39017895}
|
||||
- {x: 1.9400629, y: 0.48595896}
|
||||
- {x: 1.9138811, y: 0.58056825}
|
||||
- {x: 1.8830885, y: 0.6737789}
|
||||
- {x: 1.8477592, y: 0.7653663}
|
||||
- {x: 1.8079787, y: 0.8551099}
|
||||
- {x: 1.7638426, y: 0.9427934}
|
||||
- {x: 1.7154571, y: 1.0282056}
|
||||
- {x: 1.662939, y: 1.1111408}
|
||||
- {x: 1.6064146, y: 1.1913992}
|
||||
- {x: 1.5460203, y: 1.2687874}
|
||||
- {x: 1.4819014, y: 1.3431189}
|
||||
- {x: 1.4142125, y: 1.4142147}
|
||||
- {x: 1.3431165, y: 1.4819036}
|
||||
- {x: 1.2687849, y: 1.5460223}
|
||||
- {x: 1.1913966, y: 1.6064166}
|
||||
- {x: 1.1111382, y: 1.6629407}
|
||||
- {x: 1.0282029, y: 1.7154588}
|
||||
- {x: 0.94279057, y: 1.7638441}
|
||||
- {x: 0.85510695, y: 1.8079801}
|
||||
- {x: 0.76536334, y: 1.8477606}
|
||||
- {x: 0.67377585, y: 1.8830895}
|
||||
- {x: 0.58056515, y: 1.9138819}
|
||||
- {x: 0.48595583, y: 1.9400636}
|
||||
- {x: 0.3901758, y: 1.9615716}
|
||||
- {x: 0.29345578, y: 1.9783537}
|
||||
- {x: 0.1960288, y: 1.99037}
|
||||
- {x: 0.09812956, y: 1.9975911}
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a95bdbb6f70c2e14d82e5f4f7eed1bdc
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cc7c828fe67cba546a5a5a2b9de53a63
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,117 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &1824742176375353076
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 8599692958760628507}
|
||||
- component: {fileID: 6867288177529611813}
|
||||
- component: {fileID: -7307756874029176930}
|
||||
- component: {fileID: 8643366489253547345}
|
||||
m_Layer: 0
|
||||
m_Name: Anchor
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &8599692958760628507
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1824742176375353076}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0.5, y: 0.5, z: 0}
|
||||
m_LocalScale: {x: 0.5, y: 0.5, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!212 &6867288177529611813
|
||||
SpriteRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1824742176375353076}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 0
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_LightProbeVolumeOverride: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_ReceiveGI: 1
|
||||
m_PreserveUVs: 0
|
||||
m_IgnoreNormalsForChartDetection: 0
|
||||
m_ImportantGI: 0
|
||||
m_StitchLightmapSeams: 1
|
||||
m_SelectedEditorRenderState: 0
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 791405367
|
||||
m_SortingLayer: 2
|
||||
m_SortingOrder: 0
|
||||
m_Sprite: {fileID: 21300000, guid: 0415f46fc23af284da343f01713b8c27, type: 3}
|
||||
m_Color: {r: 1, g: 0, b: 0, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 0
|
||||
m_Size: {x: 1, y: 1}
|
||||
m_AdaptiveModeThreshold: 0.5
|
||||
m_SpriteTileMode: 0
|
||||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!114 &-7307756874029176930
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1824742176375353076}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: d38ff3984e75ad44398ee5927f8fbcf8, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
IsInput: 0
|
||||
Name:
|
||||
ScaleIncrease: 1.5
|
||||
--- !u!58 &8643366489253547345
|
||||
CircleCollider2D:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1824742176375353076}
|
||||
m_Enabled: 1
|
||||
m_Density: 1
|
||||
m_Material: {fileID: 0}
|
||||
m_IsTrigger: 0
|
||||
m_UsedByEffector: 0
|
||||
m_UsedByComposite: 0
|
||||
m_Offset: {x: 0, y: 0}
|
||||
serializedVersion: 2
|
||||
m_Radius: 0.49999997
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d2ad1e1266d8af64ca87541a40be7e9f
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,144 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &2180376356050932351
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 2448901382975228705}
|
||||
- component: {fileID: 3636792943199098803}
|
||||
- component: {fileID: -8717160041275297970}
|
||||
m_Layer: 0
|
||||
m_Name: Cable
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &2448901382975228705
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2180376356050932351}
|
||||
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!120 &3636792943199098803
|
||||
LineRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2180376356050932351}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_MotionVectors: 0
|
||||
m_LightProbeUsage: 0
|
||||
m_ReflectionProbeUsage: 0
|
||||
m_RayTracingMode: 0
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 10306, guid: 0000000000000000f000000000000000, type: 0}
|
||||
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: 791405367
|
||||
m_SortingLayer: 2
|
||||
m_SortingOrder: 0
|
||||
m_Positions:
|
||||
- {x: 0, y: 0, z: 0}
|
||||
- {x: 0, y: 0, z: 0}
|
||||
m_Parameters:
|
||||
serializedVersion: 3
|
||||
widthMultiplier: 1
|
||||
widthCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0.25
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
colorGradient:
|
||||
serializedVersion: 2
|
||||
key0: {r: 1, g: 0, b: 0, a: 1}
|
||||
key1: {r: 1, g: 0, b: 0, a: 1}
|
||||
key2: {r: 0, g: 0, b: 0, a: 0}
|
||||
key3: {r: 0, g: 0, b: 0, a: 0}
|
||||
key4: {r: 0, g: 0, b: 0, a: 0}
|
||||
key5: {r: 0, g: 0, b: 0, a: 0}
|
||||
key6: {r: 0, g: 0, b: 0, a: 0}
|
||||
key7: {r: 0, g: 0, b: 0, a: 0}
|
||||
ctime0: 0
|
||||
ctime1: 65535
|
||||
ctime2: 0
|
||||
ctime3: 0
|
||||
ctime4: 0
|
||||
ctime5: 0
|
||||
ctime6: 0
|
||||
ctime7: 0
|
||||
atime0: 0
|
||||
atime1: 65535
|
||||
atime2: 0
|
||||
atime3: 0
|
||||
atime4: 0
|
||||
atime5: 0
|
||||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
numCornerVertices: 0
|
||||
numCapVertices: 0
|
||||
alignment: 0
|
||||
textureMode: 0
|
||||
shadowBias: 0.5
|
||||
generateLightingData: 0
|
||||
m_UseWorldSpace: 1
|
||||
m_Loop: 0
|
||||
--- !u!114 &-8717160041275297970
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2180376356050932351}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 3412f6b754d14c749830830aa2faa62d, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c5518c2f8bda4d746a830a3f3e01330c
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,294 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &347446582494478752
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 2070848596161447923}
|
||||
- component: {fileID: 3023362318199728274}
|
||||
- component: {fileID: 1147181935280608789}
|
||||
m_Layer: 0
|
||||
m_Name: NAND gate
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &2070848596161447923
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 347446582494478752}
|
||||
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: 4810999900376905961}
|
||||
- {fileID: 118974315500811181}
|
||||
- {fileID: 555726995092159938}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!212 &3023362318199728274
|
||||
SpriteRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 347446582494478752}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 0
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 2100000, guid: 73ddb2958e9cd451c82f37c26efa5eb0, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_LightProbeVolumeOverride: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_ReceiveGI: 1
|
||||
m_PreserveUVs: 0
|
||||
m_IgnoreNormalsForChartDetection: 0
|
||||
m_ImportantGI: 0
|
||||
m_StitchLightmapSeams: 1
|
||||
m_SelectedEditorRenderState: 0
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: -1993690767
|
||||
m_SortingLayer: 1
|
||||
m_SortingOrder: 0
|
||||
m_Sprite: {fileID: 3286163911610860551, guid: dd1159e4e096fd24695274a28f36162e, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 0
|
||||
m_Size: {x: 6, y: 5}
|
||||
m_AdaptiveModeThreshold: 0.5
|
||||
m_SpriteTileMode: 0
|
||||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!114 &1147181935280608789
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 347446582494478752}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 4b336fb04307cae45953d977c01c393d, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1001 &3863004111573961202
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 2070848596161447923}
|
||||
m_Modifications:
|
||||
- target: {fileID: -7307756874029176930, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: IsInput
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1824742176375353076, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: Anchor
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: -1.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
--- !u!4 &4810999900376905961 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
m_PrefabInstance: {fileID: 3863004111573961202}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1001 &8137558052573990105
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 2070848596161447923}
|
||||
m_Modifications:
|
||||
- target: {fileID: 1824742176375353076, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: Anchor (2)
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 5.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: -2.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
--- !u!4 &555726995092159938 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
m_PrefabInstance: {fileID: 8137558052573990105}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1001 &8574450911240831670
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 2070848596161447923}
|
||||
m_Modifications:
|
||||
- target: {fileID: -7307756874029176930, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: IsInput
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1824742176375353076, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: Anchor (1)
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: -3.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
--- !u!4 &118974315500811181 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: 8599692958760628507, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
m_PrefabInstance: {fileID: 8574450911240831670}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e13798a14679ee74fa71d11caea77e78
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e3e4dee92790b1243868b85f51a6271b
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,37 @@
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" baseProfile="full"
|
||||
width="500" height="500" viewBox="0 0 500 500">
|
||||
<!--<g style="stroke:rgb(0,0,255);stroke-width:2">
|
||||
<line x1="0" y1="0" x2="500" y2="0"/>
|
||||
<line x1="0" y1="100" x2="500" y2="100"/>
|
||||
<line x1="0" y1="200" x2="500" y2="200"/>
|
||||
<line x1="0" y1="300" x2="500" y2="300"/>
|
||||
<line x1="0" y1="400" x2="500" y2="400"/>
|
||||
<line x1="0" y1="500" x2="500" y2="500"/>
|
||||
<line y1="0" x1="0" y2="500" x2="0"/>
|
||||
<line y1="0" x1="100" y2="500" x2="100"/>
|
||||
<line y1="0" x1="200" y2="500" x2="200"/>
|
||||
<line y1="0" x1="300" y2="500" x2="300"/>
|
||||
<line y1="0" x1="400" y2="500" x2="400"/>
|
||||
<line y1="0" x1="500" y2="500" x2="500"/>
|
||||
</g>
|
||||
<g style="stroke:rgb(255,0,0);stroke-width:1">
|
||||
<line x1="0" y1="50" x2="500" y2="50"/>
|
||||
<line x1="0" y1="150" x2="500" y2="150"/>
|
||||
<line x1="0" y1="250" x2="500" y2="250"/>
|
||||
<line x1="0" y1="350" x2="500" y2="350"/>
|
||||
<line x1="0" y1="450" x2="500" y2="450"/>
|
||||
<line y1="0" x1="50" y2="500" x2="50"/>
|
||||
<line y1="0" x1="150" y2="500" x2="150"/>
|
||||
<line y1="0" x1="250" y2="500" x2="250"/>
|
||||
<line y1="0" x1="350" y2="500" x2="350"/>
|
||||
<line y1="0" x1="450" y2="500" x2="450"/>
|
||||
</g>-->
|
||||
<g style="stroke:black;stroke-width:20;fill:white">
|
||||
<path d="M 60 50 L 225 50 C 515 50, 515 450, 225 450 L 60 450 Z" />
|
||||
</g>
|
||||
<g style="stroke:none;fill:green">
|
||||
<circle cx="50" cy="150" r="20"/>
|
||||
<circle cx="50" cy="350" r="20"/>
|
||||
<circle cx="450" cy="250" r="20"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
@@ -0,0 +1,55 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d657d34db99769448a22a568d7c15d3f
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 11500000, guid: a57477913897c46af95d590f580878bd, type: 3}
|
||||
svgType: 0
|
||||
texturedSpriteMeshType: 0
|
||||
svgPixelsPerUnit: 100
|
||||
gradientResolution: 64
|
||||
alignment: 1
|
||||
customPivot: {x: 0, y: 0}
|
||||
generatePhysicsShape: 0
|
||||
viewportOptions: 1
|
||||
preserveViewport: 0
|
||||
advancedMode: 0
|
||||
predefinedResolutionIndex: 1
|
||||
targetResolution: 1080
|
||||
resolutionMultiplier: 1
|
||||
stepDistance: 10
|
||||
samplingStepDistance: 100
|
||||
maxCordDeviationEnabled: 0
|
||||
maxCordDeviation: 1
|
||||
maxTangentAngleEnabled: 0
|
||||
maxTangentAngle: 5
|
||||
keepTextureAspectRatio: 1
|
||||
textureSize: 256
|
||||
textureWidth: 256
|
||||
textureHeight: 256
|
||||
wrapMode: 0
|
||||
filterMode: 1
|
||||
sampleCount: 4
|
||||
preserveSVGImageAspect: 0
|
||||
useSVGPixelsPerUnit: 0
|
||||
spriteData:
|
||||
TessellationDetail: 0
|
||||
SpriteRect:
|
||||
name:
|
||||
originalName:
|
||||
pivot: {x: 0, y: 0}
|
||||
alignment: 0
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 0
|
||||
height: 0
|
||||
spriteID: 6d9a163d366116a4fbc61bad4a744969
|
||||
internalID: 0
|
||||
PhysicsOutlines: []
|
||||
@@ -0,0 +1,36 @@
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" baseProfile="full"
|
||||
width="300" height="300" viewBox="0 0 300 300">
|
||||
<!--<g style="stroke:rgb(0,0,255);stroke-width:2">
|
||||
<line x1="0" y1="0" x2="500" y2="0"/>
|
||||
<line x1="0" y1="100" x2="500" y2="100"/>
|
||||
<line x1="0" y1="200" x2="500" y2="200"/>
|
||||
<line x1="0" y1="300" x2="500" y2="300"/>
|
||||
<line x1="0" y1="400" x2="500" y2="400"/>
|
||||
<line x1="0" y1="500" x2="500" y2="500"/>
|
||||
<line y1="0" x1="0" y2="500" x2="0"/>
|
||||
<line y1="0" x1="100" y2="500" x2="100"/>
|
||||
<line y1="0" x1="200" y2="500" x2="200"/>
|
||||
<line y1="0" x1="300" y2="500" x2="300"/>
|
||||
<line y1="0" x1="400" y2="500" x2="400"/>
|
||||
<line y1="0" x1="500" y2="500" x2="500"/>
|
||||
</g>
|
||||
<g style="stroke:rgb(255,0,0);stroke-width:1">
|
||||
<line x1="0" y1="50" x2="500" y2="50"/>
|
||||
<line x1="0" y1="150" x2="500" y2="150"/>
|
||||
<line x1="0" y1="250" x2="500" y2="250"/>
|
||||
<line x1="0" y1="350" x2="500" y2="350"/>
|
||||
<line x1="0" y1="450" x2="500" y2="450"/>
|
||||
<line y1="0" x1="50" y2="500" x2="50"/>
|
||||
<line y1="0" x1="150" y2="500" x2="150"/>
|
||||
<line y1="0" x1="250" y2="500" x2="250"/>
|
||||
<line y1="0" x1="350" y2="500" x2="350"/>
|
||||
<line y1="0" x1="450" y2="500" x2="450"/>
|
||||
</g>-->
|
||||
<g style="stroke:black;stroke-width:20;fill:white">
|
||||
<path d="M 60 50 L 240 150 L 60 250 Z" />
|
||||
</g>
|
||||
<g style="stroke:none;fill:green">
|
||||
<circle cx="50" cy="150" r="20"/>
|
||||
<circle cx="250" cy="150" r="20"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
@@ -0,0 +1,55 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9b1c4145c6340064297ab349609dd56c
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 11500000, guid: a57477913897c46af95d590f580878bd, type: 3}
|
||||
svgType: 0
|
||||
texturedSpriteMeshType: 0
|
||||
svgPixelsPerUnit: 100
|
||||
gradientResolution: 64
|
||||
alignment: 1
|
||||
customPivot: {x: 0, y: 0}
|
||||
generatePhysicsShape: 0
|
||||
viewportOptions: 1
|
||||
preserveViewport: 0
|
||||
advancedMode: 0
|
||||
predefinedResolutionIndex: 1
|
||||
targetResolution: 1080
|
||||
resolutionMultiplier: 1
|
||||
stepDistance: 10
|
||||
samplingStepDistance: 100
|
||||
maxCordDeviationEnabled: 0
|
||||
maxCordDeviation: 1
|
||||
maxTangentAngleEnabled: 0
|
||||
maxTangentAngle: 5
|
||||
keepTextureAspectRatio: 1
|
||||
textureSize: 256
|
||||
textureWidth: 256
|
||||
textureHeight: 256
|
||||
wrapMode: 0
|
||||
filterMode: 1
|
||||
sampleCount: 4
|
||||
preserveSVGImageAspect: 0
|
||||
useSVGPixelsPerUnit: 0
|
||||
spriteData:
|
||||
TessellationDetail: 0
|
||||
SpriteRect:
|
||||
name:
|
||||
originalName:
|
||||
pivot: {x: 0, y: 0}
|
||||
alignment: 0
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 0
|
||||
height: 0
|
||||
spriteID: ef00bc5944a2a4d4ea2ce01a401e7165
|
||||
internalID: 0
|
||||
PhysicsOutlines: []
|
||||
@@ -0,0 +1,38 @@
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" baseProfile="full"
|
||||
width="600" height="500" viewBox="0 0 600 500">
|
||||
<!--<g style="stroke:rgb(0,0,255);stroke-width:2">
|
||||
<line x1="0" y1="0" x2="500" y2="0"/>
|
||||
<line x1="0" y1="100" x2="500" y2="100"/>
|
||||
<line x1="0" y1="200" x2="500" y2="200"/>
|
||||
<line x1="0" y1="300" x2="500" y2="300"/>
|
||||
<line x1="0" y1="400" x2="500" y2="400"/>
|
||||
<line x1="0" y1="500" x2="500" y2="500"/>
|
||||
<line y1="0" x1="0" y2="500" x2="0"/>
|
||||
<line y1="0" x1="100" y2="500" x2="100"/>
|
||||
<line y1="0" x1="200" y2="500" x2="200"/>
|
||||
<line y1="0" x1="300" y2="500" x2="300"/>
|
||||
<line y1="0" x1="400" y2="500" x2="400"/>
|
||||
<line y1="0" x1="500" y2="500" x2="500"/>
|
||||
</g>
|
||||
<g style="stroke:rgb(255,0,0);stroke-width:1">
|
||||
<line x1="0" y1="50" x2="500" y2="50"/>
|
||||
<line x1="0" y1="150" x2="500" y2="150"/>
|
||||
<line x1="0" y1="250" x2="500" y2="250"/>
|
||||
<line x1="0" y1="350" x2="500" y2="350"/>
|
||||
<line x1="0" y1="450" x2="500" y2="450"/>
|
||||
<line y1="0" x1="50" y2="500" x2="50"/>
|
||||
<line y1="0" x1="150" y2="500" x2="150"/>
|
||||
<line y1="0" x1="250" y2="500" x2="250"/>
|
||||
<line y1="0" x1="350" y2="500" x2="350"/>
|
||||
<line y1="0" x1="450" y2="500" x2="450"/>
|
||||
</g>-->
|
||||
<g style="stroke:black;stroke-width:20;fill:white">
|
||||
<path d="M 60 50 L 225 50 C 515 50, 515 450, 225 450 L 60 450 Z" />
|
||||
<circle cx="490" cy="250" r="35"/>
|
||||
</g>
|
||||
<!--<g style="stroke:none;fill:green">
|
||||
<circle cx="50" cy="150" r="20"/>
|
||||
<circle cx="50" cy="350" r="20"/>
|
||||
<circle cx="550" cy="250" r="20"/>
|
||||
</g>-->
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
@@ -0,0 +1,55 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dd1159e4e096fd24695274a28f36162e
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 11500000, guid: a57477913897c46af95d590f580878bd, type: 3}
|
||||
svgType: 0
|
||||
texturedSpriteMeshType: 0
|
||||
svgPixelsPerUnit: 100
|
||||
gradientResolution: 64
|
||||
alignment: 1
|
||||
customPivot: {x: 0, y: 0}
|
||||
generatePhysicsShape: 0
|
||||
viewportOptions: 1
|
||||
preserveViewport: 0
|
||||
advancedMode: 0
|
||||
predefinedResolutionIndex: 1
|
||||
targetResolution: 1080
|
||||
resolutionMultiplier: 1
|
||||
stepDistance: 10
|
||||
samplingStepDistance: 100
|
||||
maxCordDeviationEnabled: 0
|
||||
maxCordDeviation: 1
|
||||
maxTangentAngleEnabled: 0
|
||||
maxTangentAngle: 5
|
||||
keepTextureAspectRatio: 1
|
||||
textureSize: 256
|
||||
textureWidth: 256
|
||||
textureHeight: 256
|
||||
wrapMode: 0
|
||||
filterMode: 1
|
||||
sampleCount: 4
|
||||
preserveSVGImageAspect: 0
|
||||
useSVGPixelsPerUnit: 0
|
||||
spriteData:
|
||||
TessellationDetail: 0
|
||||
SpriteRect:
|
||||
name:
|
||||
originalName:
|
||||
pivot: {x: 0, y: 0}
|
||||
alignment: 0
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 0
|
||||
height: 0
|
||||
spriteID: 90c42266f30f0854a8dea9b400487b8b
|
||||
internalID: 0
|
||||
PhysicsOutlines: []
|
||||
@@ -0,0 +1,38 @@
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" baseProfile="full"
|
||||
width="600" height="500" viewBox="0 0 600 500">
|
||||
<!--<g style="stroke:rgb(0,0,255);stroke-width:2">
|
||||
<line x1="0" y1="0" x2="500" y2="0"/>
|
||||
<line x1="0" y1="100" x2="500" y2="100"/>
|
||||
<line x1="0" y1="200" x2="500" y2="200"/>
|
||||
<line x1="0" y1="300" x2="500" y2="300"/>
|
||||
<line x1="0" y1="400" x2="500" y2="400"/>
|
||||
<line x1="0" y1="500" x2="500" y2="500"/>
|
||||
<line y1="0" x1="0" y2="500" x2="0"/>
|
||||
<line y1="0" x1="100" y2="500" x2="100"/>
|
||||
<line y1="0" x1="200" y2="500" x2="200"/>
|
||||
<line y1="0" x1="300" y2="500" x2="300"/>
|
||||
<line y1="0" x1="400" y2="500" x2="400"/>
|
||||
<line y1="0" x1="500" y2="500" x2="500"/>
|
||||
</g>
|
||||
<g style="stroke:rgb(255,0,0);stroke-width:1">
|
||||
<line x1="0" y1="50" x2="500" y2="50"/>
|
||||
<line x1="0" y1="150" x2="500" y2="150"/>
|
||||
<line x1="0" y1="250" x2="500" y2="250"/>
|
||||
<line x1="0" y1="350" x2="500" y2="350"/>
|
||||
<line x1="0" y1="450" x2="500" y2="450"/>
|
||||
<line y1="0" x1="50" y2="500" x2="50"/>
|
||||
<line y1="0" x1="150" y2="500" x2="150"/>
|
||||
<line y1="0" x1="250" y2="500" x2="250"/>
|
||||
<line y1="0" x1="350" y2="500" x2="350"/>
|
||||
<line y1="0" x1="450" y2="500" x2="450"/>
|
||||
</g>-->
|
||||
<g style="stroke:black;stroke-width:20;fill:white">
|
||||
<path d="M 10 50 L 150 50 C 375 50, 440 250, 440 250 C 440 250, 375 450, 150 450 L 20 450 L 150 450 L 10 450 C 110 400, 110 100, 10 50 L 150 50 L 10 50 Z" />
|
||||
<circle cx="490" cy="250" r="35"/>
|
||||
</g>
|
||||
<g style="stroke:none;fill:green">
|
||||
<circle cx="50" cy="150" r="20"/>
|
||||
<circle cx="50" cy="350" r="20"/>
|
||||
<circle cx="550" cy="250" r="20"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
@@ -0,0 +1,55 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ce1725433e0189245aff741879e37f27
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 11500000, guid: a57477913897c46af95d590f580878bd, type: 3}
|
||||
svgType: 0
|
||||
texturedSpriteMeshType: 0
|
||||
svgPixelsPerUnit: 100
|
||||
gradientResolution: 64
|
||||
alignment: 1
|
||||
customPivot: {x: 0, y: 0}
|
||||
generatePhysicsShape: 0
|
||||
viewportOptions: 1
|
||||
preserveViewport: 0
|
||||
advancedMode: 0
|
||||
predefinedResolutionIndex: 1
|
||||
targetResolution: 1080
|
||||
resolutionMultiplier: 1
|
||||
stepDistance: 10
|
||||
samplingStepDistance: 100
|
||||
maxCordDeviationEnabled: 0
|
||||
maxCordDeviation: 1
|
||||
maxTangentAngleEnabled: 0
|
||||
maxTangentAngle: 5
|
||||
keepTextureAspectRatio: 1
|
||||
textureSize: 256
|
||||
textureWidth: 256
|
||||
textureHeight: 256
|
||||
wrapMode: 0
|
||||
filterMode: 1
|
||||
sampleCount: 4
|
||||
preserveSVGImageAspect: 0
|
||||
useSVGPixelsPerUnit: 0
|
||||
spriteData:
|
||||
TessellationDetail: 0
|
||||
SpriteRect:
|
||||
name:
|
||||
originalName:
|
||||
pivot: {x: 0, y: 0}
|
||||
alignment: 0
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 0
|
||||
height: 0
|
||||
spriteID: 5f0ed599e748a2b4cb799efdf4fccc6b
|
||||
internalID: 0
|
||||
PhysicsOutlines: []
|
||||
@@ -0,0 +1,37 @@
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" baseProfile="full"
|
||||
width="400" height="300" viewBox="0 0 400 300">
|
||||
<!--<g style="stroke:rgb(0,0,255);stroke-width:2">
|
||||
<line x1="0" y1="0" x2="500" y2="0"/>
|
||||
<line x1="0" y1="100" x2="500" y2="100"/>
|
||||
<line x1="0" y1="200" x2="500" y2="200"/>
|
||||
<line x1="0" y1="300" x2="500" y2="300"/>
|
||||
<line x1="0" y1="400" x2="500" y2="400"/>
|
||||
<line x1="0" y1="500" x2="500" y2="500"/>
|
||||
<line y1="0" x1="0" y2="500" x2="0"/>
|
||||
<line y1="0" x1="100" y2="500" x2="100"/>
|
||||
<line y1="0" x1="200" y2="500" x2="200"/>
|
||||
<line y1="0" x1="300" y2="500" x2="300"/>
|
||||
<line y1="0" x1="400" y2="500" x2="400"/>
|
||||
<line y1="0" x1="500" y2="500" x2="500"/>
|
||||
</g>
|
||||
<g style="stroke:rgb(255,0,0);stroke-width:1">
|
||||
<line x1="0" y1="50" x2="500" y2="50"/>
|
||||
<line x1="0" y1="150" x2="500" y2="150"/>
|
||||
<line x1="0" y1="250" x2="500" y2="250"/>
|
||||
<line x1="0" y1="350" x2="500" y2="350"/>
|
||||
<line x1="0" y1="450" x2="500" y2="450"/>
|
||||
<line y1="0" x1="50" y2="500" x2="50"/>
|
||||
<line y1="0" x1="150" y2="500" x2="150"/>
|
||||
<line y1="0" x1="250" y2="500" x2="250"/>
|
||||
<line y1="0" x1="350" y2="500" x2="350"/>
|
||||
<line y1="0" x1="450" y2="500" x2="450"/>
|
||||
</g>-->
|
||||
<g style="stroke:black;stroke-width:20;fill:white">
|
||||
<path d="M 60 50 L 250 150 L 60 250 Z" />
|
||||
<circle cx="290" cy="150" r="35"/>
|
||||
</g>
|
||||
<g style="stroke:none;fill:green">
|
||||
<circle cx="50" cy="150" r="20"/>
|
||||
<circle cx="350" cy="150" r="20"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
@@ -0,0 +1,55 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a60088ecfdbde3c41947941bd7acaa78
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 11500000, guid: a57477913897c46af95d590f580878bd, type: 3}
|
||||
svgType: 0
|
||||
texturedSpriteMeshType: 0
|
||||
svgPixelsPerUnit: 100
|
||||
gradientResolution: 64
|
||||
alignment: 1
|
||||
customPivot: {x: 0, y: 0}
|
||||
generatePhysicsShape: 0
|
||||
viewportOptions: 1
|
||||
preserveViewport: 0
|
||||
advancedMode: 0
|
||||
predefinedResolutionIndex: 1
|
||||
targetResolution: 1080
|
||||
resolutionMultiplier: 1
|
||||
stepDistance: 10
|
||||
samplingStepDistance: 100
|
||||
maxCordDeviationEnabled: 0
|
||||
maxCordDeviation: 1
|
||||
maxTangentAngleEnabled: 0
|
||||
maxTangentAngle: 5
|
||||
keepTextureAspectRatio: 1
|
||||
textureSize: 256
|
||||
textureWidth: 256
|
||||
textureHeight: 256
|
||||
wrapMode: 0
|
||||
filterMode: 1
|
||||
sampleCount: 4
|
||||
preserveSVGImageAspect: 0
|
||||
useSVGPixelsPerUnit: 0
|
||||
spriteData:
|
||||
TessellationDetail: 0
|
||||
SpriteRect:
|
||||
name:
|
||||
originalName:
|
||||
pivot: {x: 0, y: 0}
|
||||
alignment: 0
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 0
|
||||
height: 0
|
||||
spriteID: f15315af0a2304b428f198b53f719f45
|
||||
internalID: 0
|
||||
PhysicsOutlines: []
|
||||
@@ -0,0 +1,37 @@
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" baseProfile="full"
|
||||
width="500" height="500" viewBox="0 0 500 500">
|
||||
<!--<g style="stroke:rgb(0,0,255);stroke-width:2">
|
||||
<line x1="0" y1="0" x2="500" y2="0"/>
|
||||
<line x1="0" y1="100" x2="500" y2="100"/>
|
||||
<line x1="0" y1="200" x2="500" y2="200"/>
|
||||
<line x1="0" y1="300" x2="500" y2="300"/>
|
||||
<line x1="0" y1="400" x2="500" y2="400"/>
|
||||
<line x1="0" y1="500" x2="500" y2="500"/>
|
||||
<line y1="0" x1="0" y2="500" x2="0"/>
|
||||
<line y1="0" x1="100" y2="500" x2="100"/>
|
||||
<line y1="0" x1="200" y2="500" x2="200"/>
|
||||
<line y1="0" x1="300" y2="500" x2="300"/>
|
||||
<line y1="0" x1="400" y2="500" x2="400"/>
|
||||
<line y1="0" x1="500" y2="500" x2="500"/>
|
||||
</g>
|
||||
<g style="stroke:rgb(255,0,0);stroke-width:1">
|
||||
<line x1="0" y1="50" x2="500" y2="50"/>
|
||||
<line x1="0" y1="150" x2="500" y2="150"/>
|
||||
<line x1="0" y1="250" x2="500" y2="250"/>
|
||||
<line x1="0" y1="350" x2="500" y2="350"/>
|
||||
<line x1="0" y1="450" x2="500" y2="450"/>
|
||||
<line y1="0" x1="50" y2="500" x2="50"/>
|
||||
<line y1="0" x1="150" y2="500" x2="150"/>
|
||||
<line y1="0" x1="250" y2="500" x2="250"/>
|
||||
<line y1="0" x1="350" y2="500" x2="350"/>
|
||||
<line y1="0" x1="450" y2="500" x2="450"/>
|
||||
</g>-->
|
||||
<g style="stroke:black;stroke-width:20;fill:white">
|
||||
<path d="M 10 50 L 150 50 C 375 50, 430 250, 430 250 C 430 250, 375 450, 150 450 L 20 450 L 150 450 L 10 450 C 110 400, 110 100, 10 50 L 150 50 L 10 50 Z" />
|
||||
</g>
|
||||
<g style="stroke:none;fill:green">
|
||||
<circle cx="50" cy="150" r="20"/>
|
||||
<circle cx="50" cy="350" r="20"/>
|
||||
<circle cx="450" cy="250" r="20"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
@@ -0,0 +1,55 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cea5d34f9806f3e4fb9a8d0a9d9b9ab5
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 11500000, guid: a57477913897c46af95d590f580878bd, type: 3}
|
||||
svgType: 0
|
||||
texturedSpriteMeshType: 0
|
||||
svgPixelsPerUnit: 100
|
||||
gradientResolution: 64
|
||||
alignment: 1
|
||||
customPivot: {x: 0, y: 0}
|
||||
generatePhysicsShape: 0
|
||||
viewportOptions: 1
|
||||
preserveViewport: 0
|
||||
advancedMode: 0
|
||||
predefinedResolutionIndex: 1
|
||||
targetResolution: 1080
|
||||
resolutionMultiplier: 1
|
||||
stepDistance: 10
|
||||
samplingStepDistance: 100
|
||||
maxCordDeviationEnabled: 0
|
||||
maxCordDeviation: 1
|
||||
maxTangentAngleEnabled: 0
|
||||
maxTangentAngle: 5
|
||||
keepTextureAspectRatio: 1
|
||||
textureSize: 256
|
||||
textureWidth: 256
|
||||
textureHeight: 256
|
||||
wrapMode: 0
|
||||
filterMode: 1
|
||||
sampleCount: 4
|
||||
preserveSVGImageAspect: 0
|
||||
useSVGPixelsPerUnit: 0
|
||||
spriteData:
|
||||
TessellationDetail: 0
|
||||
SpriteRect:
|
||||
name:
|
||||
originalName:
|
||||
pivot: {x: 0, y: 0}
|
||||
alignment: 0
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 0
|
||||
height: 0
|
||||
spriteID: 6150bb73f4fc7e74e93507cd226f8010
|
||||
internalID: 0
|
||||
PhysicsOutlines: []
|
||||
@@ -0,0 +1,41 @@
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" baseProfile="full"
|
||||
width="700" height="500" viewBox="0 0 700 500">
|
||||
<!--<g style="stroke:rgb(0,0,255);stroke-width:2">
|
||||
<line x1="0" y1="0" x2="600" y2="0"/>
|
||||
<line x1="0" y1="100" x2="600" y2="100"/>
|
||||
<line x1="0" y1="200" x2="600" y2="200"/>
|
||||
<line x1="0" y1="300" x2="600" y2="300"/>
|
||||
<line x1="0" y1="400" x2="600" y2="400"/>
|
||||
<line x1="0" y1="500" x2="600" y2="500"/>
|
||||
<line y1="0" x1="0" y2="500" x2="0"/>
|
||||
<line y1="0" x1="100" y2="500" x2="100"/>
|
||||
<line y1="0" x1="200" y2="500" x2="200"/>
|
||||
<line y1="0" x1="300" y2="500" x2="300"/>
|
||||
<line y1="0" x1="400" y2="500" x2="400"/>
|
||||
<line y1="0" x1="500" y2="500" x2="500"/>
|
||||
<line y1="0" x1="600" y2="500" x2="600"/>
|
||||
</g>
|
||||
<g style="stroke:rgb(255,0,0);stroke-width:1">
|
||||
<line x1="0" y1="50" x2="600" y2="50"/>
|
||||
<line x1="0" y1="150" x2="600" y2="150"/>
|
||||
<line x1="0" y1="250" x2="600" y2="250"/>
|
||||
<line x1="0" y1="350" x2="600" y2="350"/>
|
||||
<line x1="0" y1="450" x2="600" y2="450"/>
|
||||
<line y1="0" x1="50" y2="500" x2="50"/>
|
||||
<line y1="0" x1="150" y2="500" x2="150"/>
|
||||
<line y1="0" x1="250" y2="500" x2="250"/>
|
||||
<line y1="0" x1="350" y2="500" x2="350"/>
|
||||
<line y1="0" x1="450" y2="500" x2="450"/>
|
||||
<line y1="0" x1="550" y2="500" x2="550"/>
|
||||
</g>-->
|
||||
<g style="stroke:black;stroke-width:20;fill:white">
|
||||
<path d="M 110 50 L 250 50 C 475 50, 530 250, 540 250 C 540 250, 475 450, 250 450 L 120 450 L 250 450 L 110 450 C 210 400, 210 100, 110 50 L 250 50 L 110 50 Z" />
|
||||
<path d="M 10 50 C 110 100, 110 400, 10 450 C 110 400, 110 100, 10 50 Z" />
|
||||
<circle cx="590" cy="250" r="35"/>
|
||||
</g>
|
||||
<g style="stroke:none;fill:green">
|
||||
<circle cx="50" cy="150" r="20"/>
|
||||
<circle cx="50" cy="350" r="20"/>
|
||||
<circle cx="650" cy="250" r="20"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
@@ -0,0 +1,55 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fc21fadbf9000bb49943d069602fe83c
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 11500000, guid: a57477913897c46af95d590f580878bd, type: 3}
|
||||
svgType: 0
|
||||
texturedSpriteMeshType: 0
|
||||
svgPixelsPerUnit: 100
|
||||
gradientResolution: 64
|
||||
alignment: 1
|
||||
customPivot: {x: 0, y: 0}
|
||||
generatePhysicsShape: 0
|
||||
viewportOptions: 1
|
||||
preserveViewport: 0
|
||||
advancedMode: 0
|
||||
predefinedResolutionIndex: 1
|
||||
targetResolution: 1080
|
||||
resolutionMultiplier: 1
|
||||
stepDistance: 10
|
||||
samplingStepDistance: 100
|
||||
maxCordDeviationEnabled: 0
|
||||
maxCordDeviation: 1
|
||||
maxTangentAngleEnabled: 0
|
||||
maxTangentAngle: 5
|
||||
keepTextureAspectRatio: 1
|
||||
textureSize: 256
|
||||
textureWidth: 256
|
||||
textureHeight: 256
|
||||
wrapMode: 0
|
||||
filterMode: 1
|
||||
sampleCount: 4
|
||||
preserveSVGImageAspect: 0
|
||||
useSVGPixelsPerUnit: 0
|
||||
spriteData:
|
||||
TessellationDetail: 0
|
||||
SpriteRect:
|
||||
name:
|
||||
originalName:
|
||||
pivot: {x: 0, y: 0}
|
||||
alignment: 0
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 0
|
||||
height: 0
|
||||
spriteID: 3d07e23e2c00e1b49ba73bdc40cf3612
|
||||
internalID: 0
|
||||
PhysicsOutlines: []
|
||||
@@ -0,0 +1,40 @@
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" baseProfile="full"
|
||||
width="600" height="500" viewBox="0 0 600 500">
|
||||
<!--<g style="stroke:rgb(0,0,255);stroke-width:2">
|
||||
<line x1="0" y1="0" x2="600" y2="0"/>
|
||||
<line x1="0" y1="100" x2="600" y2="100"/>
|
||||
<line x1="0" y1="200" x2="600" y2="200"/>
|
||||
<line x1="0" y1="300" x2="600" y2="300"/>
|
||||
<line x1="0" y1="400" x2="600" y2="400"/>
|
||||
<line x1="0" y1="500" x2="600" y2="500"/>
|
||||
<line y1="0" x1="0" y2="500" x2="0"/>
|
||||
<line y1="0" x1="100" y2="500" x2="100"/>
|
||||
<line y1="0" x1="200" y2="500" x2="200"/>
|
||||
<line y1="0" x1="300" y2="500" x2="300"/>
|
||||
<line y1="0" x1="400" y2="500" x2="400"/>
|
||||
<line y1="0" x1="500" y2="500" x2="500"/>
|
||||
<line y1="0" x1="600" y2="500" x2="600"/>
|
||||
</g>
|
||||
<g style="stroke:rgb(255,0,0);stroke-width:1">
|
||||
<line x1="0" y1="50" x2="600" y2="50"/>
|
||||
<line x1="0" y1="150" x2="600" y2="150"/>
|
||||
<line x1="0" y1="250" x2="600" y2="250"/>
|
||||
<line x1="0" y1="350" x2="600" y2="350"/>
|
||||
<line x1="0" y1="450" x2="600" y2="450"/>
|
||||
<line y1="0" x1="50" y2="500" x2="50"/>
|
||||
<line y1="0" x1="150" y2="500" x2="150"/>
|
||||
<line y1="0" x1="250" y2="500" x2="250"/>
|
||||
<line y1="0" x1="350" y2="500" x2="350"/>
|
||||
<line y1="0" x1="450" y2="500" x2="450"/>
|
||||
<line y1="0" x1="550" y2="500" x2="550"/>
|
||||
</g>-->
|
||||
<g style="stroke:black;stroke-width:20;fill:white">
|
||||
<path d="M 110 50 L 250 50 C 475 50, 530 250, 530 250 C 530 250, 475 450, 250 450 L 120 450 L 250 450 L 110 450 C 210 400, 210 100, 110 50 L 250 50 L 110 50 Z" />
|
||||
<path d="M 10 50 C 110 100, 110 400, 10 450 C 110 400, 110 100, 10 50 Z" />
|
||||
</g>
|
||||
<g style="stroke:none;fill:green">
|
||||
<circle cx="50" cy="150" r="20"/>
|
||||
<circle cx="50" cy="350" r="20"/>
|
||||
<circle cx="550" cy="250" r="20"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.7 KiB |
@@ -0,0 +1,55 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d05de65acea07bc4aaa193a16bb73bd0
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 11500000, guid: a57477913897c46af95d590f580878bd, type: 3}
|
||||
svgType: 0
|
||||
texturedSpriteMeshType: 0
|
||||
svgPixelsPerUnit: 100
|
||||
gradientResolution: 64
|
||||
alignment: 1
|
||||
customPivot: {x: 0, y: 0}
|
||||
generatePhysicsShape: 0
|
||||
viewportOptions: 1
|
||||
preserveViewport: 0
|
||||
advancedMode: 0
|
||||
predefinedResolutionIndex: 1
|
||||
targetResolution: 1080
|
||||
resolutionMultiplier: 1
|
||||
stepDistance: 10
|
||||
samplingStepDistance: 100
|
||||
maxCordDeviationEnabled: 0
|
||||
maxCordDeviation: 1
|
||||
maxTangentAngleEnabled: 0
|
||||
maxTangentAngle: 5
|
||||
keepTextureAspectRatio: 1
|
||||
textureSize: 256
|
||||
textureWidth: 256
|
||||
textureHeight: 256
|
||||
wrapMode: 0
|
||||
filterMode: 1
|
||||
sampleCount: 4
|
||||
preserveSVGImageAspect: 0
|
||||
useSVGPixelsPerUnit: 0
|
||||
spriteData:
|
||||
TessellationDetail: 0
|
||||
SpriteRect:
|
||||
name:
|
||||
originalName:
|
||||
pivot: {x: 0, y: 0}
|
||||
alignment: 0
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 0
|
||||
height: 0
|
||||
spriteID: 46337dd6360bf3a42ab3289bb3b30734
|
||||
internalID: 0
|
||||
PhysicsOutlines: []
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dcaa052d56c417e459d243ff454d9e2c
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,442 @@
|
||||
%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: 3
|
||||
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
|
||||
m_SkyboxMaterial: {fileID: 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: 12
|
||||
m_GIWorkflowMode: 1
|
||||
m_GISettings:
|
||||
serializedVersion: 2
|
||||
m_BounceScale: 1
|
||||
m_IndirectOutputScale: 1
|
||||
m_AlbedoBoost: 1
|
||||
m_EnvironmentLightingMode: 0
|
||||
m_EnableBakedLightmaps: 0
|
||||
m_EnableRealtimeLightmaps: 0
|
||||
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: 0
|
||||
m_PVRSampling: 1
|
||||
m_PVRDirectSampleCount: 32
|
||||
m_PVRSampleCount: 500
|
||||
m_PVRBounces: 2
|
||||
m_PVREnvironmentSampleCount: 500
|
||||
m_PVREnvironmentReferencePointCount: 2048
|
||||
m_PVRFilteringMode: 2
|
||||
m_PVRDenoiserTypeDirect: 0
|
||||
m_PVRDenoiserTypeIndirect: 0
|
||||
m_PVRDenoiserTypeAO: 0
|
||||
m_PVRFilterTypeDirect: 0
|
||||
m_PVRFilterTypeIndirect: 0
|
||||
m_PVRFilterTypeAO: 0
|
||||
m_PVREnvironmentMIS: 0
|
||||
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_LightProbeSampleCountMultiplier: 4
|
||||
m_LightingDataAsset: {fileID: 0}
|
||||
m_LightingSettings: {fileID: 0}
|
||||
--- !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
|
||||
maxJobWorkers: 0
|
||||
preserveTilesOutsideBounds: 0
|
||||
debug:
|
||||
m_Flags: 0
|
||||
m_NavMeshData: {fileID: 0}
|
||||
--- !u!1 &297330683
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 297330684}
|
||||
m_Layer: 0
|
||||
m_Name: Gates
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &297330684
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 297330683}
|
||||
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: 1141755333}
|
||||
- {fileID: 2034233491}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &519420028
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 519420032}
|
||||
- component: {fileID: 519420031}
|
||||
- component: {fileID: 519420029}
|
||||
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 &519420029
|
||||
AudioListener:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 519420028}
|
||||
m_Enabled: 1
|
||||
--- !u!20 &519420031
|
||||
Camera:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 519420028}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 2
|
||||
m_ClearFlags: 2
|
||||
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.36
|
||||
far clip plane: 1000
|
||||
field of view: 60
|
||||
orthographic: 1
|
||||
orthographic size: 20
|
||||
m_Depth: -1
|
||||
m_CullingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_RenderingPath: -1
|
||||
m_TargetTexture: {fileID: 0}
|
||||
m_TargetDisplay: 0
|
||||
m_TargetEye: 0
|
||||
m_HDR: 1
|
||||
m_AllowMSAA: 0
|
||||
m_AllowDynamicResolution: 0
|
||||
m_ForceIntoRT: 0
|
||||
m_OcclusionCulling: 0
|
||||
m_StereoConvergence: 10
|
||||
m_StereoSeparation: 0.022
|
||||
--- !u!4 &519420032
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 519420028}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: -10}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 1
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &535412051
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 535412053}
|
||||
- component: {fileID: 535412052}
|
||||
m_Layer: 0
|
||||
m_Name: GameManager
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &535412052
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 535412051}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: de472061361ce144cbda576b1723ecf4, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
CablePrefab: {fileID: -8717160041275297970, guid: c5518c2f8bda4d746a830a3f3e01330c, type: 3}
|
||||
GatesGroup: {fileID: 297330684}
|
||||
CablesGroup: {fileID: 1929026276}
|
||||
DeadColor: {r: 0, g: 0.20240787, b: 0.262, a: 1}
|
||||
ActivatedColor: {r: 0, g: 0.7725491, b: 1, a: 1}
|
||||
--- !u!4 &535412053
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 535412051}
|
||||
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!1001 &840857165
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 297330684}
|
||||
m_Modifications:
|
||||
- target: {fileID: 347446582494478752, guid: e13798a14679ee74fa71d11caea77e78, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: NAND gate (1)
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2070848596161447923, guid: e13798a14679ee74fa71d11caea77e78, type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2070848596161447923, guid: e13798a14679ee74fa71d11caea77e78, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: -8
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2070848596161447923, guid: e13798a14679ee74fa71d11caea77e78, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2070848596161447923, guid: e13798a14679ee74fa71d11caea77e78, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2070848596161447923, guid: e13798a14679ee74fa71d11caea77e78, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2070848596161447923, guid: e13798a14679ee74fa71d11caea77e78, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2070848596161447923, guid: e13798a14679ee74fa71d11caea77e78, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2070848596161447923, guid: e13798a14679ee74fa71d11caea77e78, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2070848596161447923, guid: e13798a14679ee74fa71d11caea77e78, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2070848596161447923, guid: e13798a14679ee74fa71d11caea77e78, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2070848596161447923, guid: e13798a14679ee74fa71d11caea77e78, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: e13798a14679ee74fa71d11caea77e78, type: 3}
|
||||
--- !u!4 &1141755333 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: 2070848596161447923, guid: e13798a14679ee74fa71d11caea77e78, type: 3}
|
||||
m_PrefabInstance: {fileID: 808953822019098548}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1 &1929026275
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1929026276}
|
||||
m_Layer: 0
|
||||
m_Name: Cables
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &1929026276
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1929026275}
|
||||
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: 3
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!4 &2034233491 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: 2070848596161447923, guid: e13798a14679ee74fa71d11caea77e78, type: 3}
|
||||
m_PrefabInstance: {fileID: 840857165}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1001 &808953822019098548
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 297330684}
|
||||
m_Modifications:
|
||||
- target: {fileID: 347446582494478752, guid: e13798a14679ee74fa71d11caea77e78, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: NAND gate
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2070848596161447923, guid: e13798a14679ee74fa71d11caea77e78, type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2070848596161447923, guid: e13798a14679ee74fa71d11caea77e78, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2070848596161447923, guid: e13798a14679ee74fa71d11caea77e78, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2070848596161447923, guid: e13798a14679ee74fa71d11caea77e78, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2070848596161447923, guid: e13798a14679ee74fa71d11caea77e78, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2070848596161447923, guid: e13798a14679ee74fa71d11caea77e78, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2070848596161447923, guid: e13798a14679ee74fa71d11caea77e78, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2070848596161447923, guid: e13798a14679ee74fa71d11caea77e78, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2070848596161447923, guid: e13798a14679ee74fa71d11caea77e78, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2070848596161447923, guid: e13798a14679ee74fa71d11caea77e78, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2070848596161447923, guid: e13798a14679ee74fa71d11caea77e78, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: e13798a14679ee74fa71d11caea77e78, type: 3}
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2cda990e2423bbf4892e6590ba056729
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 45ce3a85cffd3fe40b6eed856654f8d7
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,98 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using UnityEngine;
|
||||
|
||||
public class Anchor : MonoBehaviour
|
||||
{
|
||||
#region Unity Properties
|
||||
|
||||
public bool IsInput;
|
||||
public string Name;
|
||||
public float ScaleIncrease;
|
||||
|
||||
#endregion
|
||||
|
||||
#region Public Properties
|
||||
|
||||
public List<Cable> Cables { get; set; }
|
||||
public Gate Gate { get; set; }
|
||||
public bool Activated
|
||||
{
|
||||
get
|
||||
{
|
||||
if (IsInput)
|
||||
return Cables.Count > 0 && Cables.First().Activated;
|
||||
else
|
||||
return _activated;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (!IsInput)
|
||||
_activated = value;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Private Properties
|
||||
|
||||
private Vector3 _scale;
|
||||
private SpriteRenderer _sprite;
|
||||
private bool _activated;
|
||||
private bool? _lastActivated;
|
||||
|
||||
#endregion
|
||||
|
||||
#region Unity Methods
|
||||
|
||||
// Start is called before the first frame update
|
||||
private void Start()
|
||||
{
|
||||
Utils.RandomName("Anchor", gameObject);
|
||||
_scale = transform.localScale;
|
||||
_sprite = GetComponent<SpriteRenderer>();
|
||||
Cables = new List<Cable>();
|
||||
Gate = GetComponentInParent<Gate>();
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
private void Update()
|
||||
{
|
||||
if(_lastActivated == null || _lastActivated != Activated)
|
||||
{
|
||||
_sprite.color = Activated ? GameManager.Instance.ActivatedColor : GameManager.Instance.DeadColor;
|
||||
}
|
||||
}
|
||||
|
||||
private void OnMouseEnter()
|
||||
{
|
||||
transform.localScale = _scale * ScaleIncrease;
|
||||
GameManager.Instance.CurrentAnchor = this;
|
||||
}
|
||||
|
||||
private void OnMouseExit()
|
||||
{
|
||||
transform.localScale = _scale;
|
||||
if(Equals(GameManager.Instance.CurrentAnchor))
|
||||
GameManager.Instance.CurrentAnchor = null;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Public Methods
|
||||
|
||||
public bool HasInputAnchor(Anchor target)
|
||||
{
|
||||
if (IsInput)
|
||||
return Cables.Any(c => c.HasInputAnchor(target));
|
||||
else
|
||||
return Gate.HasInputAnchor(target);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Private Methods
|
||||
|
||||
#endregion
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d38ff3984e75ad44398ee5927f8fbcf8
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,104 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class Cable : MonoBehaviour
|
||||
{
|
||||
#region Unity Properties
|
||||
|
||||
#endregion
|
||||
|
||||
#region Public Properties
|
||||
|
||||
public Anchor StartAnchor
|
||||
{
|
||||
get => _startAnchor;
|
||||
set
|
||||
{
|
||||
_startAnchor = value;
|
||||
}
|
||||
}
|
||||
public Anchor EndAnchor
|
||||
{
|
||||
get => _endAnchor;
|
||||
set
|
||||
{
|
||||
if (!value.IsInput)
|
||||
{
|
||||
_endAnchor = StartAnchor;
|
||||
StartAnchor = value;
|
||||
}
|
||||
else
|
||||
{
|
||||
_endAnchor = value;
|
||||
}
|
||||
|
||||
if (StartAnchor.HasInputAnchor(EndAnchor))
|
||||
{
|
||||
// Loop detected
|
||||
Destroy(gameObject);
|
||||
}
|
||||
else
|
||||
{
|
||||
StartAnchor.Cables.Add(this);
|
||||
EndAnchor.Cables = new List<Cable> { this };
|
||||
}
|
||||
}
|
||||
}
|
||||
public bool Activated => StartAnchor != null && !StartAnchor.IsInput && StartAnchor.Activated;
|
||||
|
||||
#endregion
|
||||
|
||||
#region Private Properties
|
||||
|
||||
private Anchor _startAnchor;
|
||||
private Anchor _endAnchor;
|
||||
private LineRenderer _line;
|
||||
private bool? _lastActivated;
|
||||
|
||||
#endregion
|
||||
|
||||
#region Unity Methods
|
||||
|
||||
// Start is called before the first frame update
|
||||
private void Start()
|
||||
{
|
||||
_line = GetComponent<LineRenderer>();
|
||||
Utils.RandomName("Cable", gameObject);
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
private void Update()
|
||||
{
|
||||
if (_lastActivated == null || _lastActivated != Activated)
|
||||
{
|
||||
_line.startColor = Activated ? GameManager.Instance.ActivatedColor : GameManager.Instance.DeadColor;
|
||||
_line.endColor = Activated ? GameManager.Instance.ActivatedColor : GameManager.Instance.DeadColor;
|
||||
}
|
||||
|
||||
var mousePos = Camera.main.ScreenToWorldPoint(Input.mousePosition);
|
||||
mousePos.z = 0f;
|
||||
var startPos = StartAnchor == null ? mousePos : StartAnchor.transform.position;
|
||||
var endPos = EndAnchor == null ? mousePos : EndAnchor.transform.position;
|
||||
_line.positionCount = 2;
|
||||
_line.SetPosition(0, startPos);
|
||||
_line.SetPosition(1, endPos);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Public Methods
|
||||
|
||||
public bool HasInputAnchor(Anchor target)
|
||||
{
|
||||
return StartAnchor.HasInputAnchor(target);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Private Methods
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3412f6b754d14c749830830aa2faa62d
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,85 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class GameManager : MonoBehaviour
|
||||
{
|
||||
#region Static Properties
|
||||
|
||||
public static GameManager Instance { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
#region Unity Properties
|
||||
|
||||
[Header("Prefabs")]
|
||||
public Cable CablePrefab;
|
||||
|
||||
[Header("Groups")]
|
||||
public Transform GatesGroup;
|
||||
public Transform CablesGroup;
|
||||
|
||||
[Header("Colors")]
|
||||
public Color DeadColor;
|
||||
public Color ActivatedColor;
|
||||
|
||||
#endregion
|
||||
|
||||
#region Public Properties
|
||||
|
||||
public Anchor CurrentAnchor { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
#region Private Properties
|
||||
|
||||
private Cable _currentCable;
|
||||
|
||||
#endregion
|
||||
|
||||
#region Unity Methods
|
||||
|
||||
// Start is called before the first frame update
|
||||
private void Start()
|
||||
{
|
||||
if (Instance != null)
|
||||
throw new InvalidOperationException("More than one GameManager in scene");
|
||||
Instance = this;
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
private void Update()
|
||||
{
|
||||
if (Input.GetMouseButton(0))
|
||||
{
|
||||
if (CurrentAnchor != null && _currentCable == null)
|
||||
{
|
||||
_currentCable = Instantiate(CablePrefab, CablesGroup, true);
|
||||
_currentCable.StartAnchor = CurrentAnchor;
|
||||
}
|
||||
}
|
||||
else if (_currentCable != null)
|
||||
{
|
||||
if (CurrentAnchor == null || _currentCable.StartAnchor.IsInput == CurrentAnchor.IsInput)
|
||||
{
|
||||
Destroy(_currentCable.gameObject);
|
||||
}
|
||||
else
|
||||
{
|
||||
_currentCable.EndAnchor = CurrentAnchor;
|
||||
}
|
||||
_currentCable = null;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Public Methods
|
||||
|
||||
#endregion
|
||||
|
||||
#region Private Methods
|
||||
|
||||
#endregion
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
fileFormatVersion: 2
|
||||
guid: de472061361ce144cbda576b1723ecf4
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences:
|
||||
- AnchorPrefab: {fileID: -7307756874029176930, guid: d2ad1e1266d8af64ca87541a40be7e9f, type: 3}
|
||||
- CablePrefab: {fileID: -8717160041275297970, guid: c5518c2f8bda4d746a830a3f3e01330c, type: 3}
|
||||
- GatesGroup: {instanceID: 0}
|
||||
- CablesGroup: {instanceID: 0}
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,58 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using UnityEngine;
|
||||
|
||||
public class Gate : MonoBehaviour
|
||||
{
|
||||
#region Unity Properties
|
||||
|
||||
private bool HasState;
|
||||
|
||||
#endregion
|
||||
|
||||
#region Public Properties
|
||||
|
||||
public List<Anchor> Anchors { get; set; }
|
||||
public IEnumerable<Anchor> InputAnchors => Anchors.Where(a => a.IsInput);
|
||||
public IEnumerable<Anchor> OutputAnchors => Anchors.Where(a => !a.IsInput);
|
||||
|
||||
#endregion
|
||||
|
||||
#region Private Properties
|
||||
|
||||
#endregion
|
||||
|
||||
#region Unity Methods
|
||||
|
||||
private void Start()
|
||||
{
|
||||
Utils.RandomName("Gate", gameObject);
|
||||
Anchors = GetComponentsInChildren<Anchor>().ToList();
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
private void Update()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Public Methods
|
||||
|
||||
public bool HasInputAnchor(Anchor target)
|
||||
{
|
||||
return !HasState && (
|
||||
InputAnchors.Contains(target) ||
|
||||
InputAnchors.Any(a => a.HasInputAnchor(target))
|
||||
);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Private Methods
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4b336fb04307cae45953d977c01c393d
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,25 @@
|
||||
using System.Linq;
|
||||
using UnityEngine;
|
||||
|
||||
public static class Utils
|
||||
{
|
||||
#region String Utils
|
||||
|
||||
public static string RandomString(int length)
|
||||
{
|
||||
const string chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
|
||||
return new string(Enumerable.Repeat(chars, length)
|
||||
.Select(s => s[Random.Range(0, s.Length)]).ToArray());
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Unity Utils
|
||||
|
||||
public static void RandomName(string prefix, GameObject obj)
|
||||
{
|
||||
obj.name = $"{prefix}_{RandomString(5)}";
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fc2965269c4d5ae44bbbce1d7a5178f3
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||