[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua/C# noob
- From: "Zachary P. Landau" <kapheine@...>
- Date: Fri, 21 Oct 2005 13:41:59 -0400
> I import two types, which are very similar in their design. One of them
> works, the other doesn't, and I just can't understand why.
>
> EPointF = luanet.import_type("Endogine.EPointF");
> ERectangleF = luanet.import_type("Endogine.ERectangleF");
>
> rct = ERectangleF(0,0, 1,1)
> rct.X = 2
>
> pt = EPoint(1,1)
> pt.X = 1 --This fails! =nil!
Did you directly cut and paste this? Because you create EPointF above
but then try to call EPoint (without the F).
--
Zachary P. Landau <kapheine@gmail.com>