Class UnitPreservation
Namespace: Unity.VisualScripting
Syntax
public sealed class UnitPreservation : IPoolable
Methods
Preserve(IUnit)
Declaration
public static UnitPreservation Preserve(IUnit unit)
Parameters
Type | Name | Description |
---|---|---|
IUnit | unit |
Returns
Type | Description |
---|---|
UnitPreservation |
RestoreTo(IUnit)
Declaration
public void RestoreTo(IUnit unit)
Parameters
Type | Name | Description |
---|---|---|
IUnit | unit |
Explicit Interface Implementations
IPoolable.Free()
Declaration
void IPoolable.Free()
Implements
IPoolable.New()
Declaration
void IPoolable.New()