c# tag

485 questions


1 answers
108 views
0
Setting the Unity Texture Name

using System.Collections;using System.Collections.Generic;using UnityEngine;[System.Serializable]public class BGScrollData{ public Renderer RenderForScroll; public float Speed; public float OffsetX;}p...

2 years ago

1 answers
124 views
0
Calls private void from c# public static

I'm a beginner at c#I'm trying to do this, but I don't know the syntax

2 years ago

1 answers
40 views
0
c# Inheritance related questions

I wrote a property class like thisusing System.Collections;using System.Collections.Generic;using UnityEngine;public class property2 : property{// Start is called before the first frame updatevoid Sta...

c#
2 years ago

1 answers
40 views
0
I think the code is right, but why is the execution different?

I'm practicing shooting stars, but I practiced on the top and copied the Internet code on the bottom, but why are the codes the same and the results different?

c#
2 years ago

1 answers
42 views
0
c# overlapping class question!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

using System;class line{ Public class point // What is the reason why public should be included in this part? { public int x; } public point starting = new point();}class C_sharp_book{ public static ...

c#
2 years ago
« - 49 -

© 2024 OneMinuteCode. All rights reserved.