This repository has been archived on 2025-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
project-undercover/Project Undercover/Assets/Scripts/CharacterStateMachine/Interfaces/MissionObject.cs

16 lines
309 B
C#
Raw Normal View History

2017-11-08 22:34:47 -06:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MissionObject : SelectableObject {
protected override void Update()
{
base.Update();
if (Interactor != null && !IsInteracting)
{
AcceptInteraction();
}
}
}