Posts by DiaDeTedio • 21 points
8 posts
- 
		0 votes1 answer83 viewsA: Application continues to be executed even after closureHas to finish the thread when closing the program, otherwise it is always running, alias, to do better, simply create a bool static call stopThread, and within the while of the thread, check if… 
- 
		1 votes2 answers151 viewsA: How is the Generics syntax in C# compared to Java?C# and Java Generics are very similar, but they really differ is in compile time and Runtime, while Java solves generics only at compile time, that is, it does not actually create a type for each… 
- 
		0 votes1 answer77 viewsQ: I cannot use Jsonconverter in Json.Net with UnitySo I’m developing a visual programming system in FSM, and for serialization, I used Json.Net, until then, all right, it worked correctly, however, I had to serialize UnityObjects And things got… 
- 
		1 votes2 answers2273 viewsA: How to make Sprite sheet exchange at Unity without having to do more animations?I’m not sure, but it would be easier to create a type of Asset for each animation, like this: [CreateAssetMenu(menuName = "Custom Assets/Animation 2D")] public class Animation2D : ScriptableObject {… 
- 
		0 votes1 answer109 viewsQ: How to access the main thread from the main threadI wonder if it is possible to call a method using a thread from another thread. The reason is that there are methods that can only be called from the main thread, and I need to call them in another… 
- 
		0 votes1 answer72 viewsA: How to create a dialog tree with a custom language in C#Yes, after several attempts, I managed to solve the problem myself, with the following code: string[] lines = source.Split('\n'); Dialog holder = new Dialog(id); List<DialogItem> help = new… 
- 
		0 votes1 answer72 viewsQ: How to create a dialog tree with a custom language in C#I created a dialogue creation language for a game, but at the stage where I analyze recursion, it is always generated incorrectly. The syntax looks like this:… 
- 
		0 votes2 answers1505 viewsA: Search file path C#?Normally, the path to files without any denomination is always the path that starts in the executable location of the application itself,example: C:\\...\PastaDoPrograma\Pasta\Arquivo.arq Se eu…