Others
Quest Item
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.
Quest Item Scripting
using UnityEngine;
using Michsky.UI.Heat; // 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();
}
}
Notification
It can be used to show any kind of information. It is automatically minimized after a certain amount of time, based on the ‘Minimize After’ parameter.
Notification Scripting
using UnityEngine;
using Michsky.UI.Heat; // namespace
public class SampleClass : MonoBehaviour
{
[SerializeField] private NotificationManager notification;
void NotificationFunction()
{
// Update notification data
notification.icon = SpriteVariable;
notification.notificationText = "Your Text";
notification.UpdateUI();
// Change paramaters
notification.minimizeAfter = 4f; // Minimize after 4 seconds
// Auto aniamte notification based on its state
notification.AnimateNotification();
// Expand or minimize manually
notification.ExpandNotification();
notification.MinimizeNotification();
}
}
How can we help?
A premium WordPress theme with an integrated Knowledge Base,
providing 24/7 community-based support.