Пример #1
0
        void Start()
        {
            // set up the cached request
            _requestGetPosition = new GetPositionRequest();

            // set up the cached signal to update the results
            _signalUpdateResults = new UpdateResults();
        }
Пример #2
0
        /// <summary>
        /// Handles the update results signal
        /// </summary>
        /// <param name="signal">Information on the results</param>
        /// <returns></returns>
        private bool OnUpdateResults(UpdateResults signal)
        {
            // set the label with the results
            resultText.text = "Results: \n\n" + signal.text;

            // handled signal
            return(true);
        }