// Update is called once per frame
 void Update()
 {
     if (Input.GetKeyDown(KeyCode.X))
     {
         CDialogueWindow.QueueMessage(new CDialogueStruct("Hi! I'm a test text. \n How do you like me? ", "Some PG"));
     }
 }
    // Use this for initialization
    private void Start()
    {
        Assert.raiseExceptions = true;
        Assert.AreEqual(null, ms_cInstance, "Singleton initialized more times!");

        ms_cInstance = this;

        m_internalImage = this.GetComponent <Image>();
        m_internalText  = this.transform.GetChild(0).GetComponent <Text>();

        m_internalText.text = "";
        this.gameObject.SetActive(false);

        m_listDialoguesQueue = new Queue <CDialogueStruct>();
        m_bShowing           = false;
    }