D
D
DANICH702021-03-08 17:22:23
Unity
DANICH70, 2021-03-08 17:22:23

Operator '>' cannot be applied to operands of type 'text' and 'int' how to solve?

operator '>' cannot be applied to operands of type 'text' and 'int' how to solve this?

[SerializeField] private Text textimer;
    // Start is called before the first frame update
    void Start()
    {
        if (int.Parse.(textimer) > 3)
        {

        }       

    }

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question