Table of Contents

Method AddRule

Namespace
GrindFest.Editor
Assembly
GrindFest.dll

AddRule<T>(FieldSpawner, Action<T>)

Create and add a SpawnRuleBase to a spawner.

protected T AddRule<T>(FieldSpawner spawner, Action<T> configure = null) where T : SpawnRuleBase

Parameters

spawner FieldSpawner
configure Action<T>

Returns

T

Type Parameters

T