Example #1
0
 private void StartCharacterSearch()
 {
     if (CharactersController.GetCurrent() != null)
     {
         _currentArCharacter = CharactersController.GetCurrent();
         UserInterface.ShowMessage(string.Format("Find {0}", _currentArCharacter.CharacterName));
         UserInterface.SetOutline(_currentArCharacter.OutlineSprite, 0.75f);
     }
 }
Example #2
0
        public void CharacterDetected(ArCharacter character)
        {
            ArCharacter currentCharacter = CharactersController.GetCurrent();

            if (character == currentCharacter)
            {
                UserInterface.HideOutlineImage();
                currentCharacter.StartAnimation(() => { BackToMarker(); });
            }
            else
            {
                //What we do if we find wrong character
            }
        }