2021-02-14 15:08:59 +00:00
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using UnityEngine;
|
|
|
|
|
2021-02-19 15:14:14 +00:00
|
|
|
public class Artefact : ScriptableObject
|
2021-02-14 15:08:59 +00:00
|
|
|
{
|
|
|
|
|
2021-02-19 15:14:14 +00:00
|
|
|
public int artefactID => _artefactID;
|
|
|
|
[SerializeField] private int _artefactID;
|
2021-02-23 13:05:42 +00:00
|
|
|
public string dialogueKey => _dialogueKey;
|
|
|
|
[SerializeField] private string _dialogueKey;
|
2021-02-14 15:08:59 +00:00
|
|
|
|
2021-03-02 16:33:31 +00:00
|
|
|
public string Name => _name;
|
|
|
|
[SerializeField] private string _name;
|
2021-03-11 13:31:35 +00:00
|
|
|
|
|
|
|
public GameObject Prefab => _prefab;
|
|
|
|
[SerializeField] private GameObject _prefab;
|
2021-03-02 16:33:31 +00:00
|
|
|
|
2021-02-19 15:14:14 +00:00
|
|
|
public bool show => _show;
|
|
|
|
private bool _show = false;
|
|
|
|
public bool canInteract => _canInteract;
|
|
|
|
private bool _canInteract = false;
|
2021-02-14 15:08:59 +00:00
|
|
|
|
2021-03-01 16:18:24 +00:00
|
|
|
public virtual void Pickup()
|
2021-02-25 20:12:08 +00:00
|
|
|
{
|
|
|
|
}
|
2021-02-14 15:08:59 +00:00
|
|
|
}
|