Interface ICleanup
Lets networked components do cleanups on server before destroyed.
Namespace: Global
Assembly: Dew.Core.dll
Syntax
public interface ICleanup
Properties
canDestroy
If any ICleanup reports false, destroy call will be delayed.
Declaration
bool canDestroy { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
OnCleanup()
Called on server to ready itself before getting destroyed.
Declaration
void OnCleanup()