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

27 lines
676 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;
2021-03-02 17:33:31 +01:00
public string Name => _name;
[SerializeField] private string _name;
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();
}
}