c# tag

485 questions


2 answers
76 views
0
Questions about the for statement in Unity.

I'm a beginner at Unity.Questions about the for statement in Unity.Put as many characters as you can see on the dice.I set up a program to move it.I want to move it up, down, left, and right, one squa...

2 years ago

1 answers
44 views
0
Is there a way to get a reference to the class of the main body from the interface with C#?

class Derived: Base,Iinterface1,Iinterface2{}Is there a way to get a Derived reference from the IIinterface1 reference when a class like this is defined?

c#
2 years ago

1 answers
129 views
0
How to Attach to a Generated Instance

intenemyIndex=Random.Range(0,m_enemyList.Length);varenemyObject=Instantiate(m_enemyList[enemyIndex], new Vector3(0,3,0), transform.rotation) as GameObject;varbackground2 = GameObject.FindGameObjectWit...

2 years ago

1 answers
117 views
0
C# Cannot Call Static Method Through Instance

class playerstatus{ public static int coin=100;}US>class sample { cointext.text=coins:+playerstatus.coin.ToString();}This brings up cs0176 and Static member'playerstatus.coin'cannot be accessed with a...

2 years ago

1 answers
83 views
0
Using static to Access Other Static Classes [Closed]

Do you want to improve this question?Edit your post to clarify the issue you are trying to resolve by adding details.Closed 6 years ago.6 years agoFor example, To sampleclass public static int sample ...

2 years ago

1 answers
89 views
0
Object Generation Hierarchy

I use unity.I generated an object with instantiate.If you are not in canvas, you cannot use the ugui button, so you must generate it in canvas.Therefore, to create a hierarchy within canvas by specify...

2 years ago

1 answers
52 views
0
C#, Enumeration nullReferenceException was not handled.

NullReferenceException was not handled.Object reference is not configured for the object instance.says the error.mi1.cs namespace mip{ public enum enumMessageType { mtA, mtB, mtC, ... }afterthoughtFo...

c#
2 years ago

1 answers
77 views
0
To retrieve gzip compressed data from C#(Mono) in HttpWebRequest.GetResponse

I would like to receive data that is gzip compressed on the server side with Unity's C#(Mono) using the GetResponse() method in HttpWebRequest.of the following sources: using(HttpWebResponse wres=(Htt...

2 years ago

1 answers
60 views
0
Understanding Linqcsv Connections for C#

I have a question about Linq of C#.Based on the code of the ms site, I wrote a code that connects the two csv files with inner join and outputs them. In the code, the output is from field 0 to field 4...

2 years ago

1 answers
65 views
0
Understanding Linqcsv Connections for C#

I have a question about Linq of C#.Based on the code of the ms site, I wrote a code that connects the two csv files with inner join and outputs them. In the code, the output is from field 0 to field 4...

2 years ago
« - 12 - »

© 2024 OneMinuteCode. All rights reserved.