Do I have to "Regenerate node " every time I change the script?

After creating a new method or field,
do I have to do the “Regenerate node”(in project setting) every time to use it in VS?
Without Regenerate node, the finder cannot find a method or field in VS.
Is there another way?

UnitBase.Rebuild()

You can use code above to regeneeate units, I didnot find any other option how to do it…

UnitBase.Rebuild() for adding new types.

UnitBase.Update() for when changes are made to already added types. This is a lot faster than full rebuild.

1 Like