Unstable v0.19.5.0
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user