_
This commit is contained in:
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user