Fuck alt
This commit is contained in:
parent
ea64f2ccb5
commit
f4e168dce8
|
@ -56,6 +56,8 @@ public class python_test : MonoBehaviour
|
||||||
|
|
||||||
Dictionary<int, GameObject> intToPiece = new Dictionary<int, GameObject>();
|
Dictionary<int, GameObject> intToPiece = new Dictionary<int, GameObject>();
|
||||||
|
|
||||||
|
GameObject transObject;
|
||||||
|
|
||||||
List<List<int>> boardState;
|
List<List<int>> boardState;
|
||||||
|
|
||||||
GameObject baseObject;
|
GameObject baseObject;
|
||||||
|
@ -71,7 +73,7 @@ public class python_test : MonoBehaviour
|
||||||
baseObject = GameObject.Find("base_object");
|
baseObject = GameObject.Find("base_object");
|
||||||
quad = GameObject.Find("Quad");
|
quad = GameObject.Find("Quad");
|
||||||
quadRend = quad.GetComponent<Renderer>();
|
quadRend = quad.GetComponent<Renderer>();
|
||||||
|
transObject = GameObject.Find("fuck");
|
||||||
|
|
||||||
|
|
||||||
boardState = new List<List<int>>() {
|
boardState = new List<List<int>>() {
|
||||||
|
@ -185,6 +187,27 @@ public class python_test : MonoBehaviour
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var transMat = (Material)Resources.Load("trans_mat", typeof(Material));
|
||||||
|
|
||||||
|
for (int i = 0; i < 8; i++)
|
||||||
|
{
|
||||||
|
for (int j = 0; j < 8; j++)
|
||||||
|
{
|
||||||
|
int intPiece = boardState[7-j][i];
|
||||||
|
|
||||||
|
if (intPiece == 6 || boardState[j][i] != 6)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
GameObject piece = Instantiate(transObject);
|
||||||
|
piece.transform.position = new Vector3((float)(bp.x + i * 0.04),
|
||||||
|
bp.y,
|
||||||
|
(float)(bp.z + j * 0.04));
|
||||||
|
pieces.Add(piece);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -209,7 +209,7 @@ MeshFilter:
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 277462151}
|
m_GameObject: {fileID: 277462151}
|
||||||
m_Mesh: {fileID: 1994911554}
|
m_Mesh: {fileID: 1413810076}
|
||||||
--- !u!23 &277462153
|
--- !u!23 &277462153
|
||||||
MeshRenderer:
|
MeshRenderer:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -227,7 +227,7 @@ MeshRenderer:
|
||||||
m_RenderingLayerMask: 1
|
m_RenderingLayerMask: 1
|
||||||
m_RendererPriority: 0
|
m_RendererPriority: 0
|
||||||
m_Materials:
|
m_Materials:
|
||||||
- {fileID: 777352404}
|
- {fileID: 1867310967}
|
||||||
m_StaticBatchInfo:
|
m_StaticBatchInfo:
|
||||||
firstSubMesh: 0
|
firstSubMesh: 0
|
||||||
subMeshCount: 0
|
subMeshCount: 0
|
||||||
|
@ -433,6 +433,7 @@ MonoBehaviour:
|
||||||
FbxPawn: {fileID: 100000, guid: 4b6b6269f205e49dba0777fd1e97b7ce, type: 3}
|
FbxPawn: {fileID: 100000, guid: 4b6b6269f205e49dba0777fd1e97b7ce, type: 3}
|
||||||
FbxQueen: {fileID: 100000, guid: 213f95ea384b849f1ae2fa47752b0356, type: 3}
|
FbxQueen: {fileID: 100000, guid: 213f95ea384b849f1ae2fa47752b0356, type: 3}
|
||||||
FbxRook: {fileID: 100000, guid: 43a5808dc7c9f4cbab815bda2043fa96, type: 3}
|
FbxRook: {fileID: 100000, guid: 43a5808dc7c9f4cbab815bda2043fa96, type: 3}
|
||||||
|
pieces: []
|
||||||
--- !u!4 &730623322
|
--- !u!4 &730623322
|
||||||
Transform:
|
Transform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -447,34 +448,6 @@ Transform:
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_RootOrder: 1
|
m_RootOrder: 1
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!21 &777352404
|
|
||||||
Material:
|
|
||||||
serializedVersion: 6
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name: 'OxygenMaterial
|
|
||||||
|
|
||||||
7706'
|
|
||||||
m_Shader: {fileID: 4800000, guid: bd60f254bfe034e099e9f70c306d67e7, type: 3}
|
|
||||||
m_ShaderKeywords:
|
|
||||||
m_LightmapFlags: 5
|
|
||||||
m_EnableInstancingVariants: 0
|
|
||||||
m_DoubleSidedGI: 0
|
|
||||||
m_CustomRenderQueue: -1
|
|
||||||
stringTagMap: {}
|
|
||||||
disabledShaderPasses: []
|
|
||||||
m_SavedProperties:
|
|
||||||
serializedVersion: 3
|
|
||||||
m_TexEnvs:
|
|
||||||
- _MainTex:
|
|
||||||
m_Texture: {fileID: 2800000, guid: cc6daa766aade3b4cbaeeac788249a2e, type: 3}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
m_Floats: []
|
|
||||||
m_Colors:
|
|
||||||
- _Color: {r: 0.9607843, g: 0.10606851, b: 0.050980415, a: 1}
|
|
||||||
--- !u!1 &857694816
|
--- !u!1 &857694816
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -567,193 +540,86 @@ MeshFilter:
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 857694816}
|
m_GameObject: {fileID: 857694816}
|
||||||
m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0}
|
m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
--- !u!1 &1840619079
|
--- !u!1001 &1264406501
|
||||||
GameObject:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 1840619081}
|
|
||||||
- component: {fileID: 1840619080}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Directional Light
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!108 &1840619080
|
|
||||||
Light:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1840619079}
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 8
|
|
||||||
m_Type: 1
|
|
||||||
m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
|
|
||||||
m_Intensity: 1
|
|
||||||
m_Range: 10
|
|
||||||
m_SpotAngle: 30
|
|
||||||
m_CookieSize: 10
|
|
||||||
m_Shadows:
|
|
||||||
m_Type: 2
|
|
||||||
m_Resolution: -1
|
|
||||||
m_CustomResolution: -1
|
|
||||||
m_Strength: 1
|
|
||||||
m_Bias: 0.05
|
|
||||||
m_NormalBias: 0.4
|
|
||||||
m_NearPlane: 0.2
|
|
||||||
m_Cookie: {fileID: 0}
|
|
||||||
m_DrawHalo: 0
|
|
||||||
m_Flare: {fileID: 0}
|
|
||||||
m_RenderMode: 0
|
|
||||||
m_CullingMask:
|
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_Bits: 4294967295
|
m_Modification:
|
||||||
m_Lightmapping: 4
|
m_TransformParent: {fileID: 0}
|
||||||
m_LightShadowCasterMode: 0
|
m_Modifications:
|
||||||
m_AreaSize: {x: 1, y: 1}
|
- target: {fileID: 100000, guid: 43a5808dc7c9f4cbab815bda2043fa96, type: 3}
|
||||||
m_BounceIntensity: 1
|
propertyPath: m_Name
|
||||||
m_ColorTemperature: 6570
|
value: fuck
|
||||||
m_UseColorTemperature: 0
|
objectReference: {fileID: 0}
|
||||||
m_ShadowRadius: 0
|
- target: {fileID: 400000, guid: 43a5808dc7c9f4cbab815bda2043fa96, type: 3}
|
||||||
m_ShadowAngle: 0
|
propertyPath: m_LocalPosition.x
|
||||||
--- !u!4 &1840619081
|
value: 0.08
|
||||||
Transform:
|
objectReference: {fileID: 0}
|
||||||
m_ObjectHideFlags: 0
|
- target: {fileID: 400000, guid: 43a5808dc7c9f4cbab815bda2043fa96, type: 3}
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
propertyPath: m_LocalPosition.y
|
||||||
m_PrefabInstance: {fileID: 0}
|
value: 0.0125
|
||||||
m_PrefabAsset: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
m_GameObject: {fileID: 1840619079}
|
- target: {fileID: 400000, guid: 43a5808dc7c9f4cbab815bda2043fa96, type: 3}
|
||||||
m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
|
propertyPath: m_LocalPosition.z
|
||||||
m_LocalPosition: {x: 0, y: 3, z: 0}
|
value: -0.054
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
objectReference: {fileID: 0}
|
||||||
m_Children: []
|
- target: {fileID: 400000, guid: 43a5808dc7c9f4cbab815bda2043fa96, type: 3}
|
||||||
m_Father: {fileID: 0}
|
propertyPath: m_LocalRotation.x
|
||||||
m_RootOrder: 0
|
value: -6.123234e-17
|
||||||
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
|
objectReference: {fileID: 0}
|
||||||
--- !u!1 &1994725148
|
- target: {fileID: 400000, guid: 43a5808dc7c9f4cbab815bda2043fa96, type: 3}
|
||||||
GameObject:
|
propertyPath: m_LocalRotation.y
|
||||||
m_ObjectHideFlags: 0
|
value: 1
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
- target: {fileID: 400000, guid: 43a5808dc7c9f4cbab815bda2043fa96, type: 3}
|
||||||
m_PrefabAsset: {fileID: 0}
|
propertyPath: m_LocalRotation.z
|
||||||
serializedVersion: 6
|
value: 6.123234e-17
|
||||||
m_Component:
|
objectReference: {fileID: 0}
|
||||||
- component: {fileID: 1994725153}
|
- target: {fileID: 400000, guid: 43a5808dc7c9f4cbab815bda2043fa96, type: 3}
|
||||||
- component: {fileID: 1994725152}
|
propertyPath: m_LocalRotation.w
|
||||||
- component: {fileID: 1994725151}
|
value: -3.7493994e-33
|
||||||
- component: {fileID: 1994725150}
|
objectReference: {fileID: 0}
|
||||||
- component: {fileID: 1994725149}
|
- target: {fileID: 400000, guid: 43a5808dc7c9f4cbab815bda2043fa96, type: 3}
|
||||||
m_Layer: 0
|
propertyPath: m_RootOrder
|
||||||
m_Name: ARCamera
|
value: 5
|
||||||
m_TagString: Untagged
|
objectReference: {fileID: 0}
|
||||||
m_Icon: {fileID: 0}
|
- target: {fileID: 400000, guid: 43a5808dc7c9f4cbab815bda2043fa96, type: 3}
|
||||||
m_NavMeshLayer: 0
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
m_StaticEditorFlags: 0
|
value: 0
|
||||||
m_IsActive: 1
|
objectReference: {fileID: 0}
|
||||||
--- !u!114 &1994725149
|
- target: {fileID: 400000, guid: 43a5808dc7c9f4cbab815bda2043fa96, type: 3}
|
||||||
MonoBehaviour:
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
m_ObjectHideFlags: 0
|
value: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
- target: {fileID: 400000, guid: 43a5808dc7c9f4cbab815bda2043fa96, type: 3}
|
||||||
m_PrefabAsset: {fileID: 0}
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
m_GameObject: {fileID: 1994725148}
|
value: 0
|
||||||
m_Enabled: 1
|
objectReference: {fileID: 0}
|
||||||
m_EditorHideFlags: 0
|
- target: {fileID: 400000, guid: 43a5808dc7c9f4cbab815bda2043fa96, type: 3}
|
||||||
m_Script: {fileID: 11500000, guid: c47f92041efbb4b429a4eafca855ebe3, type: 3}
|
propertyPath: m_LocalScale.x
|
||||||
m_Name:
|
value: 0.02
|
||||||
m_EditorClassIdentifier:
|
objectReference: {fileID: 0}
|
||||||
--- !u!114 &1994725150
|
- target: {fileID: 400000, guid: 43a5808dc7c9f4cbab815bda2043fa96, type: 3}
|
||||||
MonoBehaviour:
|
propertyPath: m_LocalScale.y
|
||||||
m_ObjectHideFlags: 0
|
value: 0.03
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
- target: {fileID: 400000, guid: 43a5808dc7c9f4cbab815bda2043fa96, type: 3}
|
||||||
m_PrefabAsset: {fileID: 0}
|
propertyPath: m_LocalScale.z
|
||||||
m_GameObject: {fileID: 1994725148}
|
value: 0.02
|
||||||
m_Enabled: 1
|
objectReference: {fileID: 0}
|
||||||
m_EditorHideFlags: 0
|
- target: {fileID: 2300000, guid: 43a5808dc7c9f4cbab815bda2043fa96, type: 3}
|
||||||
m_Script: {fileID: -1826476478, guid: bab6fa851cf5a1a4bba3cec5f191cb8e, type: 3}
|
propertyPath: m_Materials.Array.data[0]
|
||||||
m_Name:
|
value:
|
||||||
m_EditorClassIdentifier:
|
objectReference: {fileID: 2100000, guid: 35e36e37396d14bab96446c44a806829, type: 2}
|
||||||
mWorldCenterMode: 0
|
m_RemovedComponents: []
|
||||||
mWorldCenter: {fileID: 277462156}
|
m_SourcePrefab: {fileID: 100100000, guid: 43a5808dc7c9f4cbab815bda2043fa96, type: 3}
|
||||||
--- !u!81 &1994725151
|
--- !u!43 &1413810076
|
||||||
AudioListener:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1994725148}
|
|
||||||
m_Enabled: 1
|
|
||||||
--- !u!20 &1994725152
|
|
||||||
Camera:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1994725148}
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 2
|
|
||||||
m_ClearFlags: 2
|
|
||||||
m_BackGroundColor: {r: 0, g: 0, b: 0, a: 1}
|
|
||||||
m_projectionMatrixMode: 1
|
|
||||||
m_SensorSize: {x: 36, y: 24}
|
|
||||||
m_LensShift: {x: 0, y: 0}
|
|
||||||
m_GateFitMode: 2
|
|
||||||
m_FocalLength: 50
|
|
||||||
m_NormalizedViewPortRect:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 1
|
|
||||||
height: 1
|
|
||||||
near clip plane: 0.05
|
|
||||||
far clip plane: 2000
|
|
||||||
field of view: 60
|
|
||||||
orthographic: 0
|
|
||||||
orthographic size: 5
|
|
||||||
m_Depth: 1
|
|
||||||
m_CullingMask:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 4294967295
|
|
||||||
m_RenderingPath: -1
|
|
||||||
m_TargetTexture: {fileID: 0}
|
|
||||||
m_TargetDisplay: 0
|
|
||||||
m_TargetEye: 3
|
|
||||||
m_HDR: 0
|
|
||||||
m_AllowMSAA: 1
|
|
||||||
m_AllowDynamicResolution: 0
|
|
||||||
m_ForceIntoRT: 0
|
|
||||||
m_OcclusionCulling: 1
|
|
||||||
m_StereoConvergence: 10
|
|
||||||
m_StereoSeparation: 0.022
|
|
||||||
--- !u!4 &1994725153
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1994725148}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: -0.015, y: 0, z: 0.005}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_Children:
|
|
||||||
- {fileID: 667526947}
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 2
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
--- !u!43 &1994911554
|
|
||||||
Mesh:
|
Mesh:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_Name: ImageTargetMesh7696
|
m_Name: ImageTargetMesh15044
|
||||||
serializedVersion: 9
|
serializedVersion: 9
|
||||||
m_SubMeshes:
|
m_SubMeshes:
|
||||||
- serializedVersion: 2
|
- serializedVersion: 2
|
||||||
|
@ -907,3 +773,211 @@ Mesh:
|
||||||
offset: 0
|
offset: 0
|
||||||
size: 0
|
size: 0
|
||||||
path:
|
path:
|
||||||
|
--- !u!1 &1840619079
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 1840619081}
|
||||||
|
- component: {fileID: 1840619080}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Directional Light
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!108 &1840619080
|
||||||
|
Light:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1840619079}
|
||||||
|
m_Enabled: 1
|
||||||
|
serializedVersion: 8
|
||||||
|
m_Type: 1
|
||||||
|
m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
|
||||||
|
m_Intensity: 1
|
||||||
|
m_Range: 10
|
||||||
|
m_SpotAngle: 30
|
||||||
|
m_CookieSize: 10
|
||||||
|
m_Shadows:
|
||||||
|
m_Type: 2
|
||||||
|
m_Resolution: -1
|
||||||
|
m_CustomResolution: -1
|
||||||
|
m_Strength: 1
|
||||||
|
m_Bias: 0.05
|
||||||
|
m_NormalBias: 0.4
|
||||||
|
m_NearPlane: 0.2
|
||||||
|
m_Cookie: {fileID: 0}
|
||||||
|
m_DrawHalo: 0
|
||||||
|
m_Flare: {fileID: 0}
|
||||||
|
m_RenderMode: 0
|
||||||
|
m_CullingMask:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Bits: 4294967295
|
||||||
|
m_Lightmapping: 4
|
||||||
|
m_LightShadowCasterMode: 0
|
||||||
|
m_AreaSize: {x: 1, y: 1}
|
||||||
|
m_BounceIntensity: 1
|
||||||
|
m_ColorTemperature: 6570
|
||||||
|
m_UseColorTemperature: 0
|
||||||
|
m_ShadowRadius: 0
|
||||||
|
m_ShadowAngle: 0
|
||||||
|
--- !u!4 &1840619081
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1840619079}
|
||||||
|
m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
|
||||||
|
m_LocalPosition: {x: 0, y: 3, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
|
||||||
|
--- !u!21 &1867310967
|
||||||
|
Material:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: 'OxygenMaterial
|
||||||
|
|
||||||
|
15054'
|
||||||
|
m_Shader: {fileID: 4800000, guid: bd60f254bfe034e099e9f70c306d67e7, type: 3}
|
||||||
|
m_ShaderKeywords:
|
||||||
|
m_LightmapFlags: 5
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _MainTex:
|
||||||
|
m_Texture: {fileID: 2800000, guid: cc6daa766aade3b4cbaeeac788249a2e, type: 3}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Floats: []
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 0.9607843, g: 0.10606851, b: 0.050980415, a: 1}
|
||||||
|
--- !u!1 &1994725148
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 1994725153}
|
||||||
|
- component: {fileID: 1994725152}
|
||||||
|
- component: {fileID: 1994725151}
|
||||||
|
- component: {fileID: 1994725150}
|
||||||
|
- component: {fileID: 1994725149}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: ARCamera
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!114 &1994725149
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1994725148}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: c47f92041efbb4b429a4eafca855ebe3, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
--- !u!114 &1994725150
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1994725148}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: -1826476478, guid: bab6fa851cf5a1a4bba3cec5f191cb8e, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
mWorldCenterMode: 0
|
||||||
|
mWorldCenter: {fileID: 277462156}
|
||||||
|
--- !u!81 &1994725151
|
||||||
|
AudioListener:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1994725148}
|
||||||
|
m_Enabled: 1
|
||||||
|
--- !u!20 &1994725152
|
||||||
|
Camera:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1994725148}
|
||||||
|
m_Enabled: 1
|
||||||
|
serializedVersion: 2
|
||||||
|
m_ClearFlags: 2
|
||||||
|
m_BackGroundColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
m_projectionMatrixMode: 1
|
||||||
|
m_SensorSize: {x: 36, y: 24}
|
||||||
|
m_LensShift: {x: 0, y: 0}
|
||||||
|
m_GateFitMode: 2
|
||||||
|
m_FocalLength: 50
|
||||||
|
m_NormalizedViewPortRect:
|
||||||
|
serializedVersion: 2
|
||||||
|
x: 0
|
||||||
|
y: 0
|
||||||
|
width: 1
|
||||||
|
height: 1
|
||||||
|
near clip plane: 0.05
|
||||||
|
far clip plane: 2000
|
||||||
|
field of view: 60
|
||||||
|
orthographic: 0
|
||||||
|
orthographic size: 5
|
||||||
|
m_Depth: 1
|
||||||
|
m_CullingMask:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Bits: 4294967295
|
||||||
|
m_RenderingPath: -1
|
||||||
|
m_TargetTexture: {fileID: 0}
|
||||||
|
m_TargetDisplay: 0
|
||||||
|
m_TargetEye: 3
|
||||||
|
m_HDR: 0
|
||||||
|
m_AllowMSAA: 1
|
||||||
|
m_AllowDynamicResolution: 0
|
||||||
|
m_ForceIntoRT: 0
|
||||||
|
m_OcclusionCulling: 1
|
||||||
|
m_StereoConvergence: 10
|
||||||
|
m_StereoSeparation: 0.022
|
||||||
|
--- !u!4 &1994725153
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1994725148}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: -0.015, y: 0, z: 0.005}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_Children:
|
||||||
|
- {fileID: 667526947}
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 2
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
|
21
AR-3/Assets/rook_shader.shader
Normal file
21
AR-3/Assets/rook_shader.shader
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
Shader "AR/RookShader"
|
||||||
|
{
|
||||||
|
Properties {
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SubShader
|
||||||
|
{
|
||||||
|
Tags { "Queue"="Geometry-100" "RenderType"="Transparent" }
|
||||||
|
|
||||||
|
|
||||||
|
Pass
|
||||||
|
{
|
||||||
|
ZWrite On
|
||||||
|
ColorMask 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
77
AR-3/Assets/trans_mat.mat
Normal file
77
AR-3/Assets/trans_mat.mat
Normal 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: trans_mat
|
||||||
|
m_Shader: {fileID: 4800000, guid: 7a2f992f0288948a2bf7d5f4db88fad0, type: 3}
|
||||||
|
m_ShaderKeywords: _ALPHAPREMULTIPLY_ON
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: 2000
|
||||||
|
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: 10
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Mode: 3
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 0
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
Loading…
Reference in New Issue
Block a user