Hello form this topic: viewtopic.php?t=232
I have tried your code but Visual Studio gives error for: DialogueManager.displaySettings = newDisplaySettings;
using UnityEngine;
using PixelCrushers.DialogueSystem;
public class NewDisplaySettings : MonoBehaviour {
public DisplaySettings newDisplaySettings;
public void Start() {
DialogueManager.displaySettings = newDisplaySettings;
}
}
Your Script Not Working
Re: Your Script Not Working
Things changed a little since version 1.x back in 2015. Instead of this:
Please use this:
Code: Select all
DialogueManager.displaySettings = newDisplaySettings;
Code: Select all
DialogueManager.instance.displaySettings = newDisplaySettings;