Shuhei Tanuma
37e28d98ea
C# Unity can't cast integer represented enum value.
```
namespace MyGame;
enum CommandType : byte {
None = 0,
}
table Command {
id:int;
type:CommandType;
}
```
then generate c# files. it'll output compile error like these.
```
Assets/MyGame/Command.cs(18,39): error CS1041: Identifier expected
Assets/MyGame/Command.cs(18,39): error CS1737: Optional parameter cannot precede required parameters
16: public static Offset<Command> CreateCommand(FlatBufferBuilder builder,
17: int id = 0,
18: CommandType type = (CommandType)0) {
```
2015-11-17 18:02:59 +09:00
..
2015-10-18 17:08:39 -04:00
2015-11-17 18:02:59 +09:00
2015-10-13 14:01:55 -07:00
2015-10-14 21:15:57 -07:00
2015-11-11 17:08:16 -08:00
2015-04-02 19:33:00 -07:00
2014-08-19 16:44:14 -07:00
2014-08-19 17:20:08 -07:00
2015-10-14 23:07:40 -07:00
2015-10-14 21:15:57 -07:00
2014-07-02 14:39:58 -07:00
2015-08-15 14:48:47 +03:00
2015-03-11 17:27:38 -07:00
2015-10-28 17:54:11 -07:00
2015-10-14 23:07:40 -07:00
2015-10-14 23:06:58 -07:00
2015-08-28 23:48:28 +08:00
2015-08-19 14:39:06 -07:00
2015-02-17 14:10:18 -08:00
2015-10-28 17:54:11 -07:00
2015-10-28 17:54:11 -07:00
2015-11-11 19:43:53 -08:00
2015-05-12 15:40:29 -07:00
2015-10-28 17:54:11 -07:00
2015-10-14 23:07:40 -07:00