Skip to content

Akeit0/YukataScript

Repository files navigation

YukataScript

Demo https://akeit0.github.io/YukataScript/

Requires Unity 2021.3 or higher

Script Language for Unity/C#

No more allocations(including boxing) and typechecks than C# at run time.

Theoretically all types and methods can be used except ByReflike(such as Span<T>).

The writing style is a mixture of C# and go lang.

But it's in alpha and very buggy. I need your help.

Very easy async/await on Editor.

Async

Exelent Performance(I have achived 18ms on Editor and 7.4ms with IL2CPP while C# on Editor takes 4.5ms to do same things. C# is a little faster ).

Performance

Easy code generation.

TypeSelect

Field type selection.

FieldTypeSelec

Easy to save values.

Json

Method with attribute can be called without using.(This is in C#)

Reflection

Supported

  • Extention methods.
  • Any TaskLike works when it returns void.

Not currently supported

  • funcions and classes
  • Generics (Manual setting may solve it.)
  • Await with return value