protected void Start() { thisEyeSpriteRenderer = GetComponent <SpriteRenderer>(); eyeState = State.eWaiting; thisTimer = Random.Range(thisOpenMin, thisOpenMax); thisSelfDialog = theSelfDialog.GetComponent <InGameDialogScript>(); InitializeMasks(); InitializeLooks(); }
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>(); }