Beispiel #1
0
    private void OnInteractionStart(Dialogue.DialogueData interactionContainer)
    {
        _hasStarted = false;
        CacheComponents();

        if (AreAllComponentsCached())
        {
            _initialLocalTailY        = speechTail.transform.localPosition.y;
            _initialLocalThoughtTailY = thoughtTail.transform.localPosition.y;

            DeactivateImediate();
        }

        Dialogue.GetActiveInteraction().PreStart(ref interactionContainer);

        if (null != screenBlocker)
        {
            NGUITools.SetActive(screenBlocker, true);
        }
    }
Beispiel #2
0
 public void PreStart(ref Dialogue.DialogueData interactionContainer)
 {
     _dialogueData = interactionContainer;
 }