public static void Spawn(EffectSpawnerDef effect, Map map, Vector3 position, float angle = 0f) { if (effect != null) { effect.Spawn(map, position, angle); } }
public static void Spawn(EffectSpawnerDef effect, Pawn pawn, float angle = 0f) { Spawn(effect, pawn.Map, pawn.TrueCenter(), angle); }