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.

  • 0
ramiam

anyone

Question

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

 

Please login or register to see this link.

Share this post


Link to post
Share on other sites

4 answers to this question

  • 0

Honestly, I wouldn't expect too much from a dedicated developer team like them. They make awesome games indeed, but the stuff they release are not user friendly or documented, and too complex for someone who just wants to pick it up and use it for his own project.

Share this post


Link to post
Share on other sites
  • 0

You have some errors. Share them with us. I don't want to download this project on my computer. I assume that it could be possible to fix them ++

Share this post


Link to post
Share on other sites
  • 0
Please login or register to see this quote.

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);
    }
 

Please login or register to see this attachment.

Share this post


Link to post
Share on other sites
  • 0

This project use a deprecated UI. Change it for the new UI. Also you could delete this part - and instead display some info with Debug.Log() ++

1 person likes this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now