You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changed AudioScript to be abstract rather than sealed, for more information on this change, look at Setting up AudioScript.
Changed ColorblindInfo constructor to disallow moduleId to be null.
Changed library to be mostly CLS-Compliant, and added attributes accordingly. Theoretically, this library should be good to go for other languages like Visual Basic.
Changed ModuleScript.IsVR to only check for ControlType.Motion because this is the only one that changes the behaviour of KMSelectables.
Removals
Removed For overloads. Now it only has 1 definition which iterates until it reaches the number passed in.
MINOR
Additions
Added AudioScript.OnAwake() and AudioScript.OnUpdate() for consistency.
Added Helper.Rev<T>() overload to partially reverse a list.
Added Helper.Range<T>() overload which allows you to generate numbers 0-x without specifying 0.
Added Helper.Repeat<T>() overload which allows you to pass in a method instead of a variable. This allows you to re-evaluate a value as oppose to evaluating it once and cloning it for the entire iterator.
Added ILog to ColorblindInfo.
Added KeyHelper.AsStruct<T>() which allows you to apply an as operator on a nullable struct.
Added KeyHelper.Catch<T>() and KeyHelper.If<T>(), and KeyHelper.Using<T>() overloads.
Added KeyHelper.Conditional<T>(), KeyHelper.Cast<T>(), KeyHelper.Default<T>(), KeyHelper.Is<T>(), KeyHelper.New<T>(), KeyHelper.Or<T>(), and KeyHelper.TypeOf<T>().
Added many KeyHelper.ForEach overloads, which will now return itself instead of IEnumerable<T>, also allowing you to pass in indexes, and separate key-value pairs into 2 variables for anything inheriting IDictionary.
Added ModuleScript.RuleSeed and ModuleScript.GetRuleSeedId().
Added readonly keyword to Number and QuotientRemainder structs.
PATCH
Additions
Added KeyHelper.WorkBase deconstructor to abort the thread.
Changes
Changed ColorblindInfo to inherit ModConfig.
Changed return value of Assign to be the iterator itself.
Fixes
Fixed Game.Mission.GeneratorSetting from casting the incorrect type.