Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class InteractableNPC : Interactable
- {
- private Animator animator;
- public override void Start()
- {
- base.Start();
- animator = GetComponent<Animator>();
- }
- protected override void Interaction()
- {
- base.Interaction();
- print("Hello! Unfortunately I don't have a dialog system yet.");
- animator.SetTrigger("Wave");
- //Start Dialogue System
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment