Basic Networking done

This commit is contained in:
2022-01-26 19:10:12 +05:30
parent d852b2bb2c
commit 891318680d
1111 changed files with 105855 additions and 780 deletions

View File

@@ -0,0 +1,119 @@
mtllib ./IcosphereC.mtl
g Icosphere
v 1.192093E-07 0.187595 0.9822463
v 0.5257312 0.7946554 0.3035289
v 0.8506509 -0.1875913 0.4911242
v -0.5257308 0.7946554 0.3035289
v 1.192093E-07 0.7946525 -0.6070641
v 0.8506509 0.1875908 -0.4911239
v -0.8506508 -0.1875913 0.4911242
v 1.192093E-07 -0.7946531 0.6070642
v 0.5257312 -0.7946556 -0.3035287
v 1.192093E-07 -0.1875954 -0.9822463
v -0.8506508 0.1875908 -0.4911239
v -0.5257308 -0.7946556 -0.3035287
vn 0.5773501 0.3333353 0.7453553
vn 0 0.7453575 0.666665
vn 0 1 -3.272848E-06
vn 0.5773502 0.745355 -0.3333357
vn 0.9341724 0.3333336 0.127321
vn -0.57735 0.3333354 0.7453552
vn 0.3568219 -0.3333308 0.8726791
vn 0.9341724 -0.3333337 -0.127321
vn 0.3568221 0.3333309 -0.8726789
vn -0.5773502 0.745355 -0.3333356
vn -0.5773502 -0.7453552 0.3333353
vn 0 -1 2.749192E-06
vn 0 -0.7453578 -0.6666646
vn -0.5773502 -0.3333355 -0.7453551
vn -0.9341723 -0.3333339 -0.1273212
vn -0.3568219 -0.3333308 0.8726791
vn 0.5773503 -0.7453551 0.3333354
vn 0.5773503 -0.3333354 -0.7453551
vn -0.356822 0.3333309 -0.8726789
vn -0.9341723 0.3333338 0.1273211
vt -0.5257311 1.376382
vt 0 1.701302
vt 0.3249197 0.8506508
vt 1.051462 0
vt 0 0
vt 0.5257311 0.8506508
vt 0.5257311 -0.8506508
vt 0 0
vt 1.051462 0
vt -0.3249197 0.8506508
vt 0 1.701302
vt 0.5257311 1.376382
vt -0.5257311 0.8506508
vt 0 1.701302
vt 0.5257311 0.8506508
vt -1.376382 0.8506508
vt -1.051462 1.701302
vt -0.5257311 1.376382
vt -0.5257311 0.3249197
vt -0.5257311 1.376382
vt 0.3249197 0.8506508
vt 0 0
vt -0.5257311 0.8506508
vt 0.5257311 0.8506508
vt 0.5257311 0.3249197
vt -0.3249197 0.8506508
vt 0.5257311 1.376382
vt 1.376382 0.8506508
vt 0.5257311 1.376382
vt 1.051462 1.701302
vt -0.5257311 0.3249197
vt -1.051462 0
vt -1.376382 0.8506508
vt 0 0
vt -1.051462 0
vt -0.5257311 0.8506508
vt -0.5257311 -0.8506508
vt -1.051462 0
vt 0 0
vt 1.376382 0.8506508
vt 1.051462 0
vt 0.5257311 0.3249197
vt 0.5257311 0.8506508
vt 0 0
vt -0.5257311 0.8506508
vt -0.5257311 1.376382
vt -0.5257311 0.3249197
vt -1.376382 0.8506508
vt 0.3249197 0.8506508
vt 0 0
vt -0.5257311 0.3249197
vt -0.3249197 0.8506508
vt 0.5257311 0.3249197
vt 0 0
vt 0.5257311 1.376382
vt 1.376382 0.8506508
vt 0.5257311 0.3249197
vt 0 1.701302
vt 0.5257311 0.8506508
vt -0.5257311 0.8506508
usemtl IcosphereMat
usemap IcosphereMat
f 3/3/1 2/2/1 1/1/1
f 1/6/2 2/5/2 4/4/2
f 4/9/3 2/8/3 5/7/3
f 5/12/4 2/11/4 6/10/4
f 6/15/5 2/14/5 3/13/5
f 1/18/6 4/17/6 7/16/6
f 3/21/7 1/20/7 8/19/7
f 6/24/8 3/23/8 9/22/8
f 5/27/9 6/26/9 10/25/9
f 4/30/10 5/29/10 11/28/10
f 7/33/11 12/32/11 8/31/11
f 8/36/12 12/35/12 9/34/12
f 9/39/13 12/38/13 10/37/13
f 10/42/14 12/41/14 11/40/14
f 11/45/15 12/44/15 7/43/15
f 7/48/16 8/47/16 1/46/16
f 8/51/17 9/50/17 3/49/17
f 9/54/18 10/53/18 6/52/18
f 10/57/19 11/56/19 5/55/19
f 11/60/20 7/59/20 4/58/20

View File

@@ -0,0 +1,134 @@
fileFormatVersion: 2
guid: 1fe56a0e685b8434ebfeb53c69b59a5e
ModelImporter:
serializedVersion: 20200
internalIDToNameTable:
- first:
1: 100000
second: Icosphere
- first:
1: 100002
second: //RootNode
- first:
4: 400000
second: Icosphere
- first:
4: 400002
second: //RootNode
- first:
21: 2100000
second: IcosphereMat
- first:
23: 2300000
second: Icosphere
- first:
33: 3300000
second: Icosphere
- first:
43: 4300000
second: Icosphere
externalObjects:
- first:
type: UnityEngine:Material
assembly: UnityEngine.CoreModule
name: ProBuilderDefault
second: {fileID: 2100000, guid: 883a7db7f994aab478a4380ad50eda70, type: 2}
materials:
materialImportMode: 1
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: 1
meshes:
lODScreenPercentages:
- 0.5
- 0.25
- 0.01
globalScale: 1
meshCompression: 0
addColliders: 0
useSRGBMaterialColor: 1
sortHierarchyByName: 1
importVisibility: 1
importBlendShapes: 1
importCameras: 1
importLights: 1
fileIdsGeneration: 1
swapUVChannels: 0
generateSecondaryUV: 0
useFileUnits: 1
keepQuads: 0
weldVertices: 1
bakeAxisConversion: 0
preserveHierarchy: 0
skinWeightsMode: 0
maxBonesPerVertex: 4
minBoneWeight: 0.001
meshOptimizationFlags: -1
indexFormat: 0
secondaryUVAngleDistortion: 8
secondaryUVAreaDistortion: 15.000001
secondaryUVHardAngle: 88
secondaryUVMarginMethod: 0
secondaryUVMinLightmapResolution: 40
secondaryUVMinObjectScale: 1
secondaryUVPackMargin: 4
useFileScale: 1
tangentSpace:
normalSmoothAngle: 60
normalImportMode: 0
tangentImportMode: 3
normalCalculationMode: 4
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
blendShapeNormalImportMode: 1
normalSmoothingSource: 0
referencedClips: []
importAnimation: 1
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}
autoGenerateAvatarMappingIfUnspecified: 1
animationType: 0
humanoidOversampling: 1
avatarSetup: 0
addHumanoidExtraRootOnlyWhenUsingAvatar: 0
additionalBone: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,361 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!43 &-2571751943951361565
Mesh:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Icosphere LOD2
serializedVersion: 10
m_SubMeshes:
- serializedVersion: 2
firstByte: 0
indexCount: 0
topology: 0
baseVertex: 0
firstVertex: 0
vertexCount: 0
localAABB:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 0, y: 0, z: 0}
m_Shapes:
vertices: []
shapes: []
channels: []
fullWeights: []
m_BindPose: []
m_BoneNameHashes:
m_RootBoneNameHash: 0
m_BonesAABB: []
m_VariableBoneCountWeights:
m_Data:
m_MeshCompression: 0
m_IsReadable: 1
m_KeepVertices: 0
m_KeepIndices: 0
m_IndexFormat: 1
m_IndexBuffer:
m_VertexData:
serializedVersion: 3
m_VertexCount: 0
m_Channels:
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
m_DataSize: 0
_typelessdata:
m_CompressedMesh:
m_Vertices:
m_NumItems: 0
m_Range: 0
m_Start: 0
m_Data:
m_BitSize: 0
m_UV:
m_NumItems: 0
m_Range: 0
m_Start: 0
m_Data:
m_BitSize: 0
m_Normals:
m_NumItems: 0
m_Range: 0
m_Start: 0
m_Data:
m_BitSize: 0
m_Tangents:
m_NumItems: 0
m_Range: 0
m_Start: 0
m_Data:
m_BitSize: 0
m_Weights:
m_NumItems: 0
m_Data:
m_BitSize: 0
m_NormalSigns:
m_NumItems: 0
m_Data:
m_BitSize: 0
m_TangentSigns:
m_NumItems: 0
m_Data:
m_BitSize: 0
m_FloatColors:
m_NumItems: 0
m_Range: 0
m_Start: 0
m_Data:
m_BitSize: 0
m_BoneIndices:
m_NumItems: 0
m_Data:
m_BitSize: 0
m_Triangles:
m_NumItems: 0
m_Data:
m_BitSize: 0
m_UVInfo: 0
m_LocalAABB:
m_Center: {x: -0.000000059604645, y: -0.00000011920929, z: 0}
m_Extent: {x: 0.85065085, y: 0.7946555, z: 0.9822463}
m_MeshUsageFlags: 0
m_BakedConvexCollisionMesh:
m_BakedTriangleCollisionMesh:
m_MeshMetrics[0]: 1
m_MeshMetrics[1]: 1
m_MeshOptimizationFlags: 1
m_StreamData:
serializedVersion: 2
offset: 0
size: 0
path:
--- !u!43 &-1464651485610106969
Mesh:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Icosphere LOD1
serializedVersion: 10
m_SubMeshes:
- serializedVersion: 2
firstByte: 0
indexCount: 0
topology: 0
baseVertex: 0
firstVertex: 0
vertexCount: 0
localAABB:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 0, y: 0, z: 0}
m_Shapes:
vertices: []
shapes: []
channels: []
fullWeights: []
m_BindPose: []
m_BoneNameHashes:
m_RootBoneNameHash: 0
m_BonesAABB: []
m_VariableBoneCountWeights:
m_Data:
m_MeshCompression: 0
m_IsReadable: 1
m_KeepVertices: 0
m_KeepIndices: 0
m_IndexFormat: 1
m_IndexBuffer:
m_VertexData:
serializedVersion: 3
m_VertexCount: 0
m_Channels:
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
m_DataSize: 0
_typelessdata:
m_CompressedMesh:
m_Vertices:
m_NumItems: 0
m_Range: 0
m_Start: 0
m_Data:
m_BitSize: 0
m_UV:
m_NumItems: 0
m_Range: 0
m_Start: 0
m_Data:
m_BitSize: 0
m_Normals:
m_NumItems: 0
m_Range: 0
m_Start: 0
m_Data:
m_BitSize: 0
m_Tangents:
m_NumItems: 0
m_Range: 0
m_Start: 0
m_Data:
m_BitSize: 0
m_Weights:
m_NumItems: 0
m_Data:
m_BitSize: 0
m_NormalSigns:
m_NumItems: 0
m_Data:
m_BitSize: 0
m_TangentSigns:
m_NumItems: 0
m_Data:
m_BitSize: 0
m_FloatColors:
m_NumItems: 0
m_Range: 0
m_Start: 0
m_Data:
m_BitSize: 0
m_BoneIndices:
m_NumItems: 0
m_Data:
m_BitSize: 0
m_Triangles:
m_NumItems: 0
m_Data:
m_BitSize: 0
m_UVInfo: 0
m_LocalAABB:
m_Center: {x: -0.000000059604645, y: -0.00000011920929, z: 0}
m_Extent: {x: 0.85065085, y: 0.7946555, z: 0.9822463}
m_MeshUsageFlags: 0
m_BakedConvexCollisionMesh:
m_BakedTriangleCollisionMesh:
m_MeshMetrics[0]: 1
m_MeshMetrics[1]: 1
m_MeshOptimizationFlags: 1
m_StreamData:
serializedVersion: 2
offset: 0
size: 0
path:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e927627221206e04dba83232f13d1949, type: 3}
m_Name: Icosphere_lods
m_EditorClassIdentifier:
overrideDefaults: 0
importSettings:
generateOnImport: 1
meshSimplifier: Unity.AutoLOD.QuadricMeshSimplifier, Unity.AutoLOD.Editor, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
batcher:
maxLODGenerated: 2
initialLODMaxPolyCount: 500000
lod0:
- {fileID: 0}
lod1:
- {fileID: 0}
lod2:
- {fileID: 0}
lod3: []
lod4: []
lod5: []
lod6: []
lod7: []

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 4dbc5ca20cf6717499ce10e453d97e56
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 2c07f54121eb4534e85f72041ec0f196
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,77 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Icosphere
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords:
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: 0}
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_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: 0, b: 0, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 7e6bf26596c6f564097734c7cc319e15
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant: