using UnityEngine; using System; public abstract class BaseInputBehavior : MonoBehaviour { protected DateTime lastInput; public int InputDelay = 300; protected bool IsSpawned { get { //return false; return (DateTime.Now - lastInput).Milliseconds < InputDelay; return (DateTime.Now - lastInput).Milliseconds < InputDelay; } } }