Skip to content

Custom Ordering Added (0.1.3)

Compare
Choose a tag to compare
@JonathanMCarter JonathanMCarter released this 05 Feb 18:38
· 20 commits to main since this release
69128c1

A mostly admin update, added 1 new feature and cleaned up for core code in some places.

Order Attribute

You can now add a custom attribute to an multi scene interface implementation to define a custom execution order for the method. This works in the same way that the script execution order works with 0 being the default, negitive numbers will be before the default, positive will be after the default. If you don't define a order for a method it will be set to 0 in the order by default and run in normal hierarchy order.

Just add [MultiSceneOrdered] to use this system on a method.
Use [MultiSceneOrdered(x)] to use custom ordering for this method, x being the order position you want it to run in.