public static void Request(BEHStyleMetadata style, BehaviorEntity?parent, Movement vel, ParametricInfo pi, float cold, float hot, SOPlayerHitbox collisionTarget, ref RealizedLaserOptions options) { Laser created = (Laser)BEHPooler.RequestUninitialized(style.RecolorOrThrow.prefab, out bool isNew); created.Initialize(isNew, parent, vel, pi, collisionTarget, cold, hot, style, ref options); }
public static void Request(BEHStyleMetadata style, Movement movement, ParametricInfo pi, float maxRemember, BPY remember, SOPlayerHitbox collisionTarget, ref RealizedBehOptions opts) { Pather created = (Pather)BEHPooler.RequestUninitialized(style.RecolorOrThrow.prefab, out bool isNew); created.Initialize(isNew, movement, pi, collisionTarget, maxRemember, remember, style, ref opts); }