I want to have an ability to write someArray.rnd
and I want it to generate the below code:
UnityEngine.Random.Range(0, someArray.length)
I found these Postfix Templates
, but I see no option to define our own for C#
, only for Javascript/Typescript
.
Is this possible to have code generation like this in Rider for Unity?