You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue description:
Creating a unit test project in Visual studio solution.
Adding a unit test to my DialogBox.
Launching and getting this error : ECall Methods Must Be Packaged Into A System Module
Steps to reproduce:
Creation a DialogBox Node with DIalogBox.cs
See this code below :
using Godot;
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
///
/// Dialog box : display content text and a texture animated sprite
///
public class DialogBox : Node2D
{
#region Fields
private List _messageList = new List();
private int _currentPartOfMessage = 0;
#endregion
#region Public methods
public override void _Ready()
{
}
#endregion
#region Internal methods
#endregion
#region Properties
/// <summary>
/// Content message to display
/// </summary>
public string Message
{
get
{
string content = string.Empty;
if (this.CurrentPartOfMessage < this.MessageList.Count)
{
content = this.MessageList[this.CurrentPartOfMessage];
}
return content;
}
}
/// <summary>
/// Index of the part of the message in the message list
/// </summary>
public int CurrentPartOfMessage { get => this._currentPartOfMessage; private set => this._currentPartOfMessage = value; }
/// <summary>
/// List of message text as one full message to be displayed in X steps
/// </summary>
[Export]
public List<string> MessageList { get => this._messageList; set => this._messageList = value; }
#endregion
}
The text was updated successfully, but these errors were encountered:
Godot version:
3.2.1 mono stable
OS/device including version:
windows 10 pro
Issue description:
Creating a unit test project in Visual studio solution.
Adding a unit test to my DialogBox.
Launching and getting this error :
ECall Methods Must Be Packaged Into A System Module
Steps to reproduce:
Creation a DialogBox Node with DIalogBox.cs
See this code below :
using Godot;
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
///
/// Dialog box : display content text and a texture animated sprite
///
public class DialogBox : Node2D
{
#region Fields
private List _messageList = new List();
private int _currentPartOfMessage = 0;
#endregion
}
The text was updated successfully, but these errors were encountered: