It can be used to show in-game missions. It is automatically minimized after a certain amount of time, based on the ‘Minimize After’ parameter.
															
				
					using UnityEngine;
using Michsky.UI.Hex; // Namespace
public class SampleClass : MonoBehaviour
{
    [SerializeField] private QuestItem questItem;
    void YourMethod()
    {
        // Set new quest text
        questItem.questText = "Mission or Quest Text";
        questItem.UpdateUI();
        // Animate quest
        questItem.AnimateQuest();
        questItem.ExpandQuest();
        questItem.MinimizeQuest();
    }
}
				
			
            A premium WordPress theme with an integrated Knowledge Base,
providing 24/7 community-based support.