c# help

  1. carl4020

    error CS0103: The name [name] does not exist in the current context

    Hello. Basically i suck at code at times and i am very shit at troubleshooting. I get these errors in my MeshGenerator.cs: Assets\Scripts\OpenWorld\Procedural Landmass Generation\MeshGenerator.cs(52,32): error CS0103: The name 'heightCurve' does not exist in the current context...
  2. droelth

    Beginner asking for code-idea help!

    Hey guys. So I am learning c# now, I have some experience in c++. But what I am gonna ask is more theory based question. So think of 6 numbers ( like an array), for example a0,a1,a2,a3,a4,a5. I wanna use last 4(doesnt matter the number here, has to be bigger than one tho :D) of them (...
  3. LBalsa

    MQTT client with MQTTnet

    Hi am, Firstly apologies if this is the wrong section. This is a last resort kind of post as I am on the borderline of desperation. I am applying for a renowned company, that despite my lack of skills for their requirements, decided to proceed me to the code challenge. After spending half the...
  4. Z

    Question Attack values in game not working as intended

    sorry in advance for not knowing the community. im new at this in so many ways. i created a dice rolling game in c# and unity and everything is working fine except for when player 2 attacks player 1 the attack value is not what it should be. and i think it is in this bit of code. but 2 hours...
  5. B

    Save a flowlayoutpanel controls (IE labels) when a user closes application

    I need to save the location of the labels when the user closes, i think i need to make it serialisable or save something to an XML file but cannot figure out how to do it. the Labels can be moved from one FlowLayoutPanel to another by the use of the if statement and then add/remove methods...
  6. B

    Question Turn off Flowlayout Snap at runtime

    I am creating a small project, where I want to drag a label from one flowLayoutPanel to another. namespace test999 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } int shrewsbutyTotal; int...
Top Bottom