void Start() { dialogue = npcShout1.GetComponent <DialogueScript>(); npcCollider = this.GetComponent <CircleCollider2D>(); npcCollider.enabled = false; dialogue2 = this.GetComponent <DialogueScript>(); interactButton = this.GetComponent <InteractButtonScript>(); floor1 = floorPad1.GetComponent <SteppedScript>(); floor2 = floorPad2.GetComponent <SteppedScript>(); floor3 = floorPad3.GetComponent <SteppedScript>(); floor4 = floorPad4.GetComponent <SteppedScript>(); tutorialBox.SetActive(false); }
// Use this for initialization void Start() { floor = floorPad.GetComponent <SteppedScript>(); }