Benjamin Moir

Results 66 comments of Benjamin Moir

> From managed code, I think that is true. However, I just added support for supplying your own .c file during the native entry compilation process. Perhaps that could be...

Over the past two days I've been working on a tool that allows you to generate `structs.dat`, `structs.dump`, `classes.json` and `strings.dat` from within the Unity editor itself. It makes use...

Script METROID_FXSPAWN (void) { SetActivatorToTarget(0); if (PlayerNumber() != ConsolePlayerNumber()) Thing_Remove(0); } Running that script in each particle's spawn state should hopefully give you option 3

Been meaning to comment on this issue for a while, and was suddenly reminded of its existence after seeing talk of `fixed` buffers elsewhere. > > > This would also...

I believe `readonly` members would need to be allowed on `class` types before this could happen.

Would it make sense to extend this to members as a general accessibility type? A use-case I can think of is in types such as `ZipArchiveEntry`/`ZipArchive` where you have a...

As I understand it, you would be required to supply the `ref` from elsewhere in order to initialize a `ref` field, correct? Would it be possible to have a struct...

@Joe4evr A struct member cannot return a reference to `this` or any of its members. Hence the need for pointers and unsafe code there. Your example would ultimately be the...

So with this, would I be able to do something akin to `GetMethod("Name", Public | Instance)` without `using static System.Reflection.BindingFlags;`?

You can do this with a `CallbackFunction` static DynValue MyFunction(ScriptExecutionContext ctx, CallbackArguments args) { var arguments = args.GetArray(); // do stuff return DynValue.Nil; } And then add it to a...