40 lines
776 B
C#
40 lines
776 B
C#
![]() |
|
|||
|
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.");
|
|||
|
}
|
|||
|
}
|