This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

ramiam

Member
  • Content count

    45
  • Joined

  • Last visited

Community Reputation

1 Neutral

5 Followers

About ramiam

  • Rank
    Member
  • Birthday 09/11/1989

Profile Information

  • Location:
    Bradford

Recent Profile Visitors

252 profile views
  1. not just me all programming this AI someone help me
  2. Hi all New I'm start on Difficult part AI if anyone wants to enjoy to my team u r welcome to zool Devl
  3. how to fix
  4. sorry I forgot to send you now I'm ready
  5. all error from a text editor 7 =============================================================== if (m_FocusedTextField != null) { GUI.FocusControl(m_FocusedTextField.name); TextEditor te = (TextEditor)GUIUtility.GetStateObject(typeof(TextEditor), GUIUtility.keyboardControl); if (te.content.text != m_FocusedTextField.TextFieldText) te.content.text = m_FocusedTextField.TextFieldText; if (te != null) { if (m_FocusChanged) //if the focus has changed, we make sure that caret is at the end of the field { if (te.pos != m_FocusedTextField.TextFieldText.Length) te.pos = m_FocusedTextField.TextFieldText.Length; else m_FocusChanged = false; } else if (m_LastCaretPos != te.pos || m_TextChanged) { m_TextChanged = false; Vector3 newCaretPos; float newCaretHeight; if (m_FocusedTextField.GetCaretPositionAndHeight(te.pos, out newCaretPos, out newCaretHeight)) { m_CaretRect.x = newCaretPos.x; m_CaretRect.y = newCaretPos.y - newCaretHeight/2; m_CaretRect.height = newCaretHeight; ShowCaret(); m_LastCaretPos = te.pos; } } te.selectPos = te.pos; //this will disable selection of text (using shift+arrow keys) } SimulateTextField(); DrawCaret(); } else GUI.FocusControl(null); }
  6. Hi all anyone know how to work this after import I have 17 error can u help me I'm using unity 5.5 and this peak build on v unity 4.6 https://www.assetstore.unity3d.com/en/#!/content/40087
  7. after update unity 5 to unity 5.5 i have a lot of error on TextEditor
  8. I can translate your game in Arabic
  9. yes error is go
  10. not working
  11. public void GetInCover(CoverPosition cover) { float disFromPos1 = Vector3.Distance(transform.position, cover.pos1.position); coverPercentage = disFromPos1 / cover.length; Vector3 dir = cover.pos2.position - cover.pos1.position; dir.Normalize(); Vector3 taretpos = (dir * disFromPos1) + cover.pos1.position; StartCoroutine(LerpToCoverPositionPercentage(targetPos)); coverPos = cover; inCover = true; } IEnumerator LerpToCoverPositionPercentage (Vector3 targetPos) { Vector3 startingpos = transform.position; Vector3 tPos = targetPos; targetPos.y = transform.position.y; float t = 0; while(t<1) { t += Time.deltaTime * 5; transform.position = Vector3.Lerp(startingpos, tPos, t); yield return null; } }
  12. Hi am Rami 

    30 % code

     

  13. yes
  14. am use this animation https://www.assetstore.unity3d.com/en/#!/content/21925