Beispiel #1
0
 // Start is called before the first frame update
 void Start()
 {
     //yesNoPrefab = DialogueCanvasManager.instance.getYesNo();
     continuePrefab = DialogueCanvasManager.instance.getContinue();
     choosePrefab   = DialogueCanvasManager.instance.getChoose();
     onStart();
 }
Beispiel #2
0
    public void setup()
    {
        Transform parent = GameObject.FindGameObjectWithTag("DialogueEntryCanvas").transform;

        this.instance          = Instantiate(this, parent);
        this.instance.instance = this.instance;
        this.instance.gameObject.SetActive(false);
    }