Example #1
0
    private void lineAI()
    {
        _timer += Time.deltaTime;

        // Queue in line
        if (!_inLine)
        {
            _register.GetInLine(this);
            _inLine = true;
        }

        // instantiate waiting thought bubble
        if (_moodBubbleInstance == null)
        {
            _moodBubbleInstance = _mood.CreateStateBubble(_currentState);
        }
    }