revival/game/Assets/Scripts/Artefacts/Artefact.cs

24 lines
599 B
C#
Raw Normal View History

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Artefact : ScriptableObject
{
2021-02-25 21:12:08 +01:00
[SerializeField] private PlayerPower _power;
public int artefactID => _artefactID;
[SerializeField] private int _artefactID;
public string artefactDialogue => _artefactDialogue;
[SerializeField] private string _artefactDialogue;
public bool show => _show;
private bool _show = false;
public bool canInteract => _canInteract;
private bool _canInteract = false;
2021-02-25 21:12:08 +01:00
public virtual void PowerUnlock()
{
_power.Unlock();
}
}