示例#1
0
文件: Laser.cs 项目: Bagoum/danmokou
        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);
        }
示例#2
0
文件: Pather.cs 项目: Bagoum/danmokou
        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);
        }