Beispiel #1
0
    protected void Start()
    {
        thisEyeSpriteRenderer = GetComponent <SpriteRenderer>();
        eyeState       = State.eWaiting;
        thisTimer      = Random.Range(thisOpenMin, thisOpenMax);
        thisSelfDialog = theSelfDialog.GetComponent <InGameDialogScript>();

        InitializeMasks();
        InitializeLooks();
    }
Beispiel #2
0
    protected void InitializeData()
    {
        thisNpcBehavior    = theNpc.GetComponent <NpcBehaviorScript>();
        thisPlayerBehavior = thePlayer.GetComponent <PlayerBehaviorScript>();

        thisGoemonEye = theGoemonEye.GetComponent <EyeBlinkingScript>();
        thisFujikoEye = theFujikoEye.GetComponent <EyeBlinkingScript>();

        thisPlayerBoxScript = thisPlayerDialogBox.GetComponent <InGameDialogScript>();
        thisNpcBoxScript    = thisNpcDialogBox.GetComponent <InGameDialogScript>();
    }