This commit is contained in:
Nitload
2022-12-03 03:08:19 +08:00
parent b6977da66a
commit 3dbf74d5a3
9 changed files with 40 additions and 5 deletions
@@ -14,10 +14,7 @@ namespace Debug
{
public static void Main()
{
int b = A.a;
A.a = 10;
A a=new A();
}
@@ -27,6 +24,23 @@ namespace Debug
public class A
{
public static int a = 10;
public int b = 10;
}
static class b
{
public static void change(this A a, int b)
{
a.b = b;
}
}
static class c
{
public static void change(this A a, int b)
{
a.b = b++;
}
}
@@ -17,9 +17,30 @@ namespace StgSharp.UI
add { this.selectEventHandler += value; }
remove { this.selectEventHandler -= value; }
}
internal float[] textureLocation;
internal float[] highLightlocation = new float[4] ;
public float[] HighLightTextureLocation
{
get { return highLightlocation; }
set
{
if (value.Length == 4)
{
highLightlocation = value;
}
else throw new ArgumentException("Too much or too few data is provided");
}
}
public void HighLight()
{
this.textureLocation = highLightlocation;
}
public void LowLight()