Ordush 185 Posted November 14, 2017 Share Posted November 14, 2017 Hey Does anyone know if it is possible to make it so when WRobot reads your XML file, it will not create the /* * SETTINGS */ [Serializable] part of the code? Reason: I am writing it manually into the fightclass editor under additional C# Link to comment https://wrobot.eu/forums/topic/7665-is-it-possible-to-make-the-wrobot-not-create-settings/ Share on other sites More sharing options...
Droidz 2742 Posted November 15, 2017 Share Posted November 15, 2017 Hello, if you use the same setting class name , C# will select your class (because "additional c#" code is added in class "Main") and ignore default setting class. Link to comment https://wrobot.eu/forums/topic/7665-is-it-possible-to-make-the-wrobot-not-create-settings/#findComment-35058 Share on other sites More sharing options...
Ordush 185 Posted November 15, 2017 Author Share Posted November 15, 2017 8 hours ago, Droidz said: Hello, if you use the same setting class name , C# will select your class (because "additional c#" code is added in class "Main") and ignore default setting class. Alright, that's what i guessed. However, just want to point out that it will spit out duplicate entry, if you do any other CS error in your code. :) Thansk for the answer Droidz! :) Link to comment https://wrobot.eu/forums/topic/7665-is-it-possible-to-make-the-wrobot-not-create-settings/#findComment-35078 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now