public void Sacrifice() { Player.Get().Cult.SacrificeHuman(this); this.interactable.onLeave.Invoke(); this.gameObject.SetActive(false); GameHub.PlayCutscene(GameHub.SacrificeCutscene); }
private void OnEnable() { if (Player.Get() != null && Player.Get().Cult.Glory == 9) { GameHub.PlayCutscene(GameHub.EndCutscene); } }
public override void OnInspectorGUI() { base.OnInspectorGUI(); if (Application.isPlaying && GUILayout.Button("WIN GAME")) { GameHub.PlayCutscene(GameHub.EndCutscene); } }