Skip to content
Permalink
Browse files

HIT HIT DAMAGE REPORT

  • Loading branch information
smz11006 committed Nov 18, 2015
1 parent 1049408 commit 99dfade025e8e6a99fa92da4ae0ebdd14e69508a
Showing with 43,009 additions and 58 deletions.
  1. BIN Roguelike/Assets/Scenes/EnemyAITest.unity
  2. +6 −4 Roguelike/Assets/Scripts/EnemyZombie.cs
  3. BIN Roguelike/Library/CurrentLayout.dwlt
  4. BIN Roguelike/Library/ScriptAssemblies/Assembly-CSharp-Editor.dll.mdb
  5. BIN Roguelike/Library/ScriptAssemblies/Assembly-CSharp.dll.mdb
  6. +8 −0 Roguelike/Library/UnityAssemblies/Mono.Cecil.xml
  7. +8 −0 Roguelike/Library/UnityAssemblies/SyntaxTree.VisualStudio.Unity.Bridge.xml
  8. +8 −0 Roguelike/Library/UnityAssemblies/UnityEditor.Android.Extensions.xml
  9. +8 −0 Roguelike/Library/UnityAssemblies/UnityEditor.Graphs.xml
  10. +8 −0 Roguelike/Library/UnityAssemblies/UnityEditor.LinuxStandalone.Extensions.xml
  11. +8 −0 Roguelike/Library/UnityAssemblies/UnityEditor.Metro.Extensions.xml
  12. +8 −0 Roguelike/Library/UnityAssemblies/UnityEditor.OSXStandalone.Extensions.xml
  13. +8 −0 Roguelike/Library/UnityAssemblies/UnityEditor.SamsungTV.Extensions.xml
  14. +8 −0 Roguelike/Library/UnityAssemblies/UnityEditor.Tizen.Extensions.xml
  15. +8 −0 Roguelike/Library/UnityAssemblies/UnityEditor.WP8.Extensions.xml
  16. +8 −0 Roguelike/Library/UnityAssemblies/UnityEditor.WebGL.Extensions.xml
  17. +8 −0 Roguelike/Library/UnityAssemblies/UnityEditor.WindowsStandalone.Extensions.xml
  18. +8 −0 Roguelike/Library/UnityAssemblies/UnityEditor.iOS.Extensions.Xcode.xml
  19. +14 −0 Roguelike/Library/UnityAssemblies/UnityEditor.iOS.Extensions.xml
  20. +42,872 −0 Roguelike/Library/UnityAssemblies/UnityEngine.xml
  21. BIN Roguelike/Library/assetDatabase3
  22. BIN Roguelike/Library/metadata/00/00000000000000002000000000000000
  23. BIN Roguelike/Library/metadata/00/00000000000000003000000000000000
  24. BIN Roguelike/Library/metadata/00/00000000000000004000000000000000
  25. BIN Roguelike/Library/metadata/00/00000000000000004100000000000000
  26. BIN Roguelike/Library/metadata/00/00000000000000005000000000000000
  27. BIN Roguelike/Library/metadata/00/00000000000000005100000000000000
  28. BIN Roguelike/Library/metadata/00/00000000000000006000000000000000
  29. BIN Roguelike/Library/metadata/00/00000000000000006100000000000000
  30. BIN Roguelike/Library/metadata/00/00000000000000007000000000000000
  31. BIN Roguelike/Library/metadata/00/00000000000000008000000000000000
  32. BIN Roguelike/Library/metadata/00/00000000000000008100000000000000
  33. BIN Roguelike/Library/metadata/00/00000000000000009000000000000000
  34. BIN Roguelike/Library/metadata/00/00000000000000009100000000000000
  35. BIN Roguelike/Library/metadata/00/0000000000000000a000000000000000
  36. BIN Roguelike/Library/metadata/00/0000000000000000b000000000000000
  37. BIN Roguelike/Library/metadata/00/0000000000000000c000000000000000
  38. BIN Roguelike/Library/metadata/04/0401554a0e6f9466db3c1a798d358b8c
  39. BIN Roguelike/Library/metadata/08/085d9842593af44d8a507541ce47bc6e
  40. BIN Roguelike/Library/metadata/17/17799b66b509c40a78360036fcfbc8bc
  41. BIN Roguelike/Library/metadata/31/31db21470894e5441a37a2958e10dd6a
  42. BIN Roguelike/Library/metadata/3d/3d2e08407829a435b84ff5ac7f8b3aef
  43. BIN Roguelike/Library/metadata/46/469ffe30a4f3a43d99d202b74660b1e5
  44. BIN Roguelike/Library/metadata/64/64ae91fffe7b7f9418d6196343d49eff
  45. BIN Roguelike/Library/metadata/6b/6bf45a0ab38a1458999f7d05487b4d52
  46. BIN Roguelike/Library/metadata/76/766f29702ce4e4a1584e5147c88629a2
  47. BIN Roguelike/Library/metadata/86/861b2dd019953d64f84df72a7b2f8372.info
  48. BIN Roguelike/Library/metadata/8a/8a32d65a6a0c443f79048586c9648b05
  49. BIN Roguelike/Library/metadata/94/94e8cb70729c77148a01af6a35e0e144.info
  50. BIN Roguelike/Library/metadata/95/95eeb1bd7377a64459d7663226831e8d.info
  51. BIN Roguelike/Library/metadata/98/98601a450fc9cbd418cb1091c9027907
  52. BIN Roguelike/Library/metadata/9b/9b368950d11817b40913157cadb3c1b0.info
  53. BIN Roguelike/Library/metadata/a0/a0fbd16cf167148268ecb856d017aee7
  54. BIN Roguelike/Library/metadata/a5/a5132e76f39f32d4caea99ef7c83d636.info
  55. BIN Roguelike/Library/metadata/bb/bb289d62091f1ed4f85a8cf05a0608ac.info
  56. BIN Roguelike/Library/metadata/bb/bb43dfaa5df3fd7499cb08815296d42f.info
  57. BIN Roguelike/Library/metadata/be/be10fc2a1b44c42ab8d6af8637b7bb96.info
  58. BIN Roguelike/Library/metadata/cf/cf4d693f4d204ec448f2bcd7640acba1.info
  59. BIN Roguelike/Library/metadata/d2/d2ef3b15c32eb43108261a87963b8937
  60. BIN Roguelike/Library/metadata/da/dae752d8f72c9504082676f59a9ce704.info
  61. BIN Roguelike/Library/metadata/ec/ec28203e77d39e74fbe69292ba584d64.info
  62. BIN Roguelike/Library/metadata/ef/efe8af026bd06914d9826fc55d722275
  63. +0 −15 Roguelike/Roguelike.CSharp.Editor.csproj
  64. +0 −6 Roguelike/Roguelike.CSharp.csproj
  65. +13 −33 Roguelike/Roguelike.sln
Binary file not shown.
@@ -14,15 +14,17 @@ void Start ()
void Update ()
{
RaycastHit hit;
ray = new Ray(transform.position, Vector3.forward);

// ray = new Ray(player.transform.position, transform.position);
ray = new Ray(gameObject.transform.position, new Vector3(gameObject.transform.position.x, gameObject.transform.position.y, gameObject.transform.position.z - 4));
if (Physics.Raycast(ray, out hit))
{
if(hit.collider == player)
if (hit.collider.tag == "Player")
{
Debug.Log("Hit, hit, damage report");
transform.position = player.transform.position;
// transform.position = player.transform.position;
}
else
Debug.Log("No Joy");
}

}
Binary file not shown.
Binary file not shown.
Binary file not shown.

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

0 comments on commit 99dfade

Please sign in to comment.
You can’t perform that action at this time.