You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
public class SceneOutcomeManager : MonoBehaviour
|
|
|
|
|
{
|
|
|
|
|
public static SceneOutcomeManager Instance;
|
|
|
|
|
|
|
|
|
|
private void Awake()
|
|
|
|
|
{
|
|
|
|
|
Instance = this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void Reported(EmailData data)
|
|
|
|
|
{
|
|
|
|
|
Debug.Log("✅ Reported phishing! Show feedback.");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void Clicked(EmailData data)
|
|
|
|
|
{
|
|
|
|
|
if (data.isPhishing)
|
|
|
|
|
{
|
|
|
|
|
Debug.Log("❌ SIMULATION FAILED – CREDENTIALS STOLEN");
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
Debug.Log("Clicked safe link.");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void Deleted(EmailData data)
|
|
|
|
|
{
|
|
|
|
|
Debug.Log("⚠️ Deleted. Show coaching tips.");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void Ignored(EmailData data)
|
|
|
|
|
{
|
|
|
|
|
Debug.Log("⚠️ Ignored. Show educational nudge.");
|
|
|
|
|
}
|
|
|
|
|
}
|