Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }