Пример #1
0
 public int ComplexFunc3(
     int a, out int a1,
     MyParam1 p, ref int p1,     /// 不能用 ref MyParam1 p1
     Action luafunc, out Action csfunc)
 {
     Debug.Log("ComplexFunc3");
     a1     = 1;
     csfunc = this.Test;
     return(1);
 }
Пример #2
0
 public void ComplexFunc(MyParam1 p1, MyParam2 p2)
 {
     Debug.Log("P1 = {x=" + p1.x + ",y=" + p1.y + "}");
     Debug.Log("P1 = {x=" + p2.x + ",y=" + p2.y + "}");
     p2.x = 3;
 }
Пример #3
0
 public void ComplexFunc1(MyParam1 p1)
 {
     Debug.Log("P1 = {x=" + p1.x + ",y=" + p1.y + "}");
 }