Skip to content
Snippets Groups Projects
Commit e1a40582 authored by Alexis Iakovenko's avatar Alexis Iakovenko
Browse files

Fix background pattern

parent ffe05f25
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,7 @@ public class LiveComparer : MonoBehaviour
public LeapServiceProvider LeapService = null;
public float scoreOffset = 70.0f;
public GameObject backgroundCircle = null;
public int backGroundAngleOffset = 60;
float acceptableScore = 150.0f;
float totalScore = 0.0f;
......@@ -67,7 +68,7 @@ public class LiveComparer : MonoBehaviour
//float degreesY = rotCircle.y * 360 / 3.14f;
//float degreesZ = rotCircle.z * 360 / 3.14f;
backgroundCircle.transform.Rotate(new Vector3(0, degreesX, 0)); //angle from leap hand
backgroundCircle.transform.Rotate(new Vector3(0, -70, 0)); //offset for target
backgroundCircle.transform.Rotate(new Vector3(0, -backGroundAngleOffset, 0)); //offset for target
}
void UpdateOffsetPosition ()
......
This diff is collapsed.
......@@ -7,7 +7,7 @@ Material:
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: blackwhitestripe_circle
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_Shader: {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
......@@ -18,6 +18,10 @@ Material:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _AlphaTex:
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}
......@@ -36,12 +40,12 @@ Material:
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 57.64, y: 0.35}
m_Offset: {x: -0.73, y: 0.325}
m_Scale: {x: 57.64, y: 0.5}
m_Offset: {x: -0.73, y: 0.269}
- _MainTex:
m_Texture: {fileID: 2800000, guid: 1b360ec52d6eec04d82e4fdafb3b02ab, type: 3}
m_Scale: {x: 57.64, y: 0.35}
m_Offset: {x: -0.73, y: 0.325}
m_Scale: {x: 57.64, y: 0.5}
m_Offset: {x: -0.73, y: 0.269}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
......@@ -55,10 +59,12 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- PixelSnap: 0
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _EnableExternalAlpha: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
......@@ -74,3 +80,5 @@ Material:
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _Flip: {r: 1, g: 1, b: 1, a: 1}
- _RendererColor: {r: 1, g: 1, b: 1, a: 1}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment