mirror of
https://github.com/frizbee19/FebGameJam.git
synced 2026-10-11 18:19:11 +00:00
Remember to Like, Comment, and Subscribe
this has the dark finish level in it that can be used 👍
This commit is contained in:
1 parent
fbe576872e
commit
dcc8607ae4
12 files changed
+2604
-42
No files matched your search
@@ -0,0 +1,33 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class EndFukiTalk : EndTrigger
|
||||
{
|
||||
public GameObject TextBox;
|
||||
// public GameObject HeadBox;
|
||||
public List<string> pages;
|
||||
public List<int> emotes;
|
||||
public RuntimeAnimatorController controller;
|
||||
public Sprite startSprite;
|
||||
public AudioManager audioManager;
|
||||
public bool isTalking;
|
||||
GameObject instance;
|
||||
// GameObject instance;
|
||||
// GameObject headInstance;
|
||||
void Instant()
|
||||
{
|
||||
instance = Instantiate(TextBox, TextBox.transform.position, Quaternion.identity);
|
||||
instance.SetActive(true);
|
||||
instance.GetComponent<EndLevelDialogue>().pages = pages;
|
||||
instance.GetComponent<EndLevelDialogue>().emotes = emotes;
|
||||
instance.GetComponent<EndLevelDialogue>().controller = controller;
|
||||
instance.GetComponent<EndLevelDialogue>().audioManager = audioManager;
|
||||
instance.GetComponent<EndLevelDialogue>().isOpen = true;
|
||||
instance.GetComponent<EndLevelDialogue>().isTalking = isTalking;
|
||||
}
|
||||
public override void Action()
|
||||
{
|
||||
Instant();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user