hiding place sctipts and player interaction
This commit is contained in:
19
Assets/Scripts/HidingStep.cs
Normal file
19
Assets/Scripts/HidingStep.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Events;
|
||||
|
||||
[Serializable]
|
||||
public class HidingStep
|
||||
{
|
||||
[Tooltip("A UI-on megjelenő szöveg ehhez a lépéshez, pl: 'Öntsd be a port'")]
|
||||
public string promptText;
|
||||
|
||||
[Tooltip("Milyen tárgy kell ehhez a lépéshez?")]
|
||||
public ItemType requiredItem;
|
||||
|
||||
[Tooltip("Elpusztuljon a tárgy a játékos kezéből a lépés után?")]
|
||||
public bool consumeItem = true;
|
||||
|
||||
[Tooltip("Mi történjen vizuálisan? (Animáció, hang, stb.)")]
|
||||
public UnityEvent OnStepCompleted;
|
||||
}
|
||||
Reference in New Issue
Block a user