Exemplo n.º 1
0
    //runs basic movement function in goto component
    IEnumerator BaseMove(float _length)
    {
        float _temp = _length;

        while (_temp > 0f)
        {
            _temp -= Time.deltaTime;

            m_GotoComponent.vSimpleMoveToObjToGoto();

            yield return(new WaitForEndOfFrame());
        }
    }