Пример #1
0
        public void StopTest()
        {
            //Stop coroutine through non-MonoBehaviour class
            _nonMonoClass.StopStandaloneCoroutine(_standaloneRoutine);
            if (!Routine.IsNull(_standaloneRoutine))
            {
                throw new Exception("IsNull must return true");
            }
            ResultText = "Press 'Start coroutines' to start test";
            CoroutineManager.StopCoroutine(_routine);

            _resultTextNonStandaloneOn = false;
            _resultTextStandaloneOn    = false;
        }