OnFill() public méthode

Virtual function called by the UIPanel that fills the buffers.
public OnFill ( BetterList verts, BetterList uvs, BetterList cols ) : void
verts BetterList
uvs BetterList
cols BetterList
Résultat void
Exemple #1
0
	static int OnFill(IntPtr L)
	{
		try
		{
			ToLua.CheckArgsCount(L, 4);
			UIWidget obj = (UIWidget)ToLua.CheckObject<UIWidget>(L, 1);
			BetterList<UnityEngine.Vector3> arg0 = (BetterList<UnityEngine.Vector3>)ToLua.CheckObject<BetterList<UnityEngine.Vector3>>(L, 2);
			BetterList<UnityEngine.Vector2> arg1 = (BetterList<UnityEngine.Vector2>)ToLua.CheckObject<BetterList<UnityEngine.Vector2>>(L, 3);
			BetterList<UnityEngine.Color> arg2 = (BetterList<UnityEngine.Color>)ToLua.CheckObject<BetterList<UnityEngine.Color>>(L, 4);
			obj.OnFill(arg0, arg1, arg2);
			return 0;
		}
		catch (Exception e)
		{
			return LuaDLL.toluaL_exception(L, e);
		}
	}
Exemple #2
0
 static public int OnFill(IntPtr l)
 {
     try {
         UIWidget self = (UIWidget)checkSelf(l);
         BetterList <UnityEngine.Vector3> a1;
         checkType(l, 2, out a1);
         BetterList <UnityEngine.Vector2> a2;
         checkType(l, 3, out a2);
         BetterList <UnityEngine.Color32> a3;
         checkType(l, 4, out a3);
         self.OnFill(a1, a2, a3);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }