start to change action system
This commit is contained in:
@@ -8,7 +8,8 @@ namespace Assets.Scripts.Buildings
|
||||
{
|
||||
protected string _name;
|
||||
protected Dictionary<string, BaseAction> _optionsList;
|
||||
|
||||
[SerializeField]
|
||||
private ConversationController _conversationController;
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
@@ -28,7 +29,8 @@ namespace Assets.Scripts.Buildings
|
||||
|
||||
void OnTriggerEnter(Collider other)
|
||||
{
|
||||
ConversationController.Instance.Change(_name, _optionsList);
|
||||
_conversationController.Change(_name, _optionsList);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user