Exemple #1
0
    // Start is called before the first frame update
    void Start()
    {
        this.INTList = new List <INPCType>();

        DialogNT dialNT = gameObject.AddComponent <DialogNT>();

        dialNT.Init(this, dialogUI, dialogID);
        dialNT.resetDialog = resetDialog;

        INTList.Add(dialNT);
    }
Exemple #2
0
    // Start is called before the first frame update
    void Start()
    {
        this.INTList    = new List <INPCType>();
        playerMutilated = false;

        DialogNT dialNT = gameObject.AddComponent <DialogNT>();

        dialNT.Init(this, dialogUI, dialogID);
        dialNT.resetDialog = resetDialog;

        DoorguardNT doorNT = gameObject.AddComponent <DoorguardNT>();

        doorNT.Init(this, guardedDoor);

        INTList.Add(dialNT);
        INTList.Add(doorNT);
    }