Пример #1
0
    public void targetFound(ImageTargetBehaviour in_target)
    {
        DebugUtils.AddToLog("<color=green>image target </color>" + in_target.name + "<color=green>found</color>");
        _foundTarget = true;
        target       = in_target.transform;

        if (!_buildingBoard)
        {
            changeUIStyle(1);
        }
        else
        {
            changeUIStyle(2);
        }
    }
Пример #2
0
 public void targetLost(ImageTargetBehaviour in_target)
 {
     DebugUtils.AddToLog("<color=red>image target </color>" + in_target.name + "<color=red>lost</color>");
     changeUIStyle(0);
     _foundTarget = false;
 }