Unstable v0.19.5.0

This commit is contained in:
Juan Pablo Arce
2022-09-14 12:47:17 -03:00
parent 3f2c843247
commit 1fd2a51bbb
158 changed files with 5702 additions and 4813 deletions
@@ -37,6 +37,14 @@ namespace Barotrauma
OnRemoveOverrideFile = onRemoveOverrideFile;
}
/// <summary>
/// Constructor with only the OnSort callback provided.
/// </summary>
public PrefabCollection(Action? onSort) : this()
{
OnSort = onSort;
}
/// <summary>
/// Method to be called when calling Add(T prefab, bool override).
/// If provided, the method is called only if Add succeeds.