Skip to content
This repository was archived by the owner on Apr 27, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 82 additions & 1 deletion Examples/Assets/2-Chess/Chess.unity
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 18479229}
- component: {fileID: 18479230}
m_Layer: 0
m_Name: PieceSpawner
m_TagString: Untagged
Expand All @@ -153,6 +154,33 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &18479230
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 18479228}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5eef96e5ff14464db4ce41c12e55a69a, type: 3}
m_Name:
m_EditorClassIdentifier:
baseMaterial: {fileID: 2100000, guid: e62e815d106881342ad0363de99e4032, type: 2}
whiteColor: {r: 0.745283, g: 0.745283, b: 0.745283, a: 0}
blackColor: {r: 0.3301887, g: 0.3301887, b: 0.3301887, a: 0}
pawnPrefab: {fileID: 1583218075738367649, guid: 32b62efada760e849bd87da4273b3b53,
type: 3}
bishopPrefab: {fileID: 4176364942238273365, guid: 6e884ce33c0cb614183072a3b6d3428c,
type: 3}
knightPrefab: {fileID: 5946930590886837822, guid: fe6946c1e57f1e04da70f359e47f0b74,
type: 3}
rookPrefab: {fileID: 2026019943357961452, guid: 0b18bbbd40b5c414c8dae0da35082cc2,
type: 3}
queenPrefab: {fileID: 1567788881234649031, guid: 5fe76d0647bbcf84aa5989b1d4582db1,
type: 3}
kingPrefab: {fileID: 5957118620367066376, guid: 8064d5600829eac4193f1d236ee464e1,
type: 3}
--- !u!1 &835953010
GameObject:
m_ObjectHideFlags: 0
Expand All @@ -164,6 +192,8 @@ GameObject:
- component: {fileID: 835953013}
- component: {fileID: 835953012}
- component: {fileID: 835953011}
- component: {fileID: 835953014}
- component: {fileID: 835953015}
m_Layer: 0
m_Name: Main Camera
m_TagString: MainCamera
Expand Down Expand Up @@ -236,6 +266,51 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0}
--- !u!114 &835953014
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 835953010}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a79441f348de89743a2939f4d699eac1, type: 3}
m_Name:
m_EditorClassIdentifier:
m_RenderShadows: 1
m_RequiresDepthTextureOption: 2
m_RequiresOpaqueTextureOption: 2
m_CameraType: 0
m_Cameras: []
m_RendererIndex: -1
m_VolumeLayerMask:
serializedVersion: 2
m_Bits: 1
m_VolumeTrigger: {fileID: 0}
m_RenderPostProcessing: 0
m_Antialiasing: 0
m_AntialiasingQuality: 2
m_StopNaN: 0
m_Dithering: 0
m_ClearDepth: 1
m_AllowXRRendering: 1
m_RequiresDepthTexture: 0
m_RequiresColorTexture: 0
m_Version: 2
--- !u!114 &835953015
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 835953010}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 93b4c6956f914255af4b113d48ac3282, type: 3}
m_Name:
m_EditorClassIdentifier:
store: {fileID: 1074850383}
--- !u!1001 &990988795
PrefabInstance:
m_ObjectHideFlags: 0
Expand All @@ -253,6 +328,11 @@ PrefabInstance:
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7621059963395653558, guid: dd7ea297c8547c24d9b69c1d063cd660,
type: 3}
propertyPath: m_LocalScale.z
value: -1
objectReference: {fileID: 0}
- target: {fileID: 7621059963395653558, guid: dd7ea297c8547c24d9b69c1d063cd660,
type: 3}
propertyPath: m_LocalPosition.x
Expand Down Expand Up @@ -348,6 +428,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 2b9385cb5c9a3bf4aa966592c7c92f76, type: 3}
m_Name:
m_EditorClassIdentifier:
spawner: {fileID: 18479230}
--- !u!1 &1943387544
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -389,7 +470,7 @@ Light:
m_Strength: 1
m_Bias: 0.05
m_NormalBias: 0.4
m_NearPlane: 0.2
m_NearPlane: 0.1
m_CullingMatrixOverride:
e00: 1
e01: 0
Expand Down
129 changes: 129 additions & 0 deletions Examples/Assets/2-Chess/Materials/ChessPiece.mat
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-3749607757857133310
MonoBehaviour:
m_ObjectHideFlags: 11
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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 4
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: ChessPiece
m_Shader: {fileID: 4800000, guid: 8d2bb70cbf9db8d4da26e15b26e74248, type: 3}
m_ShaderKeywords: _SPECULAR_COLOR
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: 2000
stringTagMap:
RenderType: Opaque
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BaseMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _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}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_Lightmaps:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_LightmapsInd:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_ShadowMasks:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _AlphaClip: 0
- _Blend: 0
- _BumpScale: 1
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
- _Cull: 2
- _Cutoff: 0.5
- _DetailAlbedoMapScale: 1
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _EnvironmentReflections: 1
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossinessSource: 0
- _GlossyReflections: 0
- _Metallic: 0
- _OcclusionStrength: 1
- _Parallax: 0.005
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Shininess: 0
- _Smoothness: 0.5
- _SmoothnessSource: 0
- _SmoothnessTextureChannel: 0
- _SpecSource: 0
- _SpecularHighlights: 0
- _SrcBlend: 1
- _Surface: 0
- _WorkflowMode: 1
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999927, g: 0.19999927, b: 0.19999927, a: 0.5}
m_BuildTextureStacks: []
8 changes: 8 additions & 0 deletions Examples/Assets/2-Chess/Materials/ChessPiece.mat.meta

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

Loading