������ 14/16/20/40/44: vehicle, ����, ����������, damage floaters, ��������� #20
@ -17,6 +17,7 @@
|
||||
import { Color3 } from '@babylonjs/core';
|
||||
import { ScriptSandbox } from './ScriptSandbox';
|
||||
import { STORYS_addres } from '../api/API';
|
||||
import { LabelManager } from './LabelManager'; // задача: scene.setLabel (require крашит в браузере)
|
||||
|
||||
export class GameRuntime {
|
||||
constructor(scene3d) {
|
||||
@ -2767,7 +2768,6 @@ export class GameRuntime {
|
||||
if (typeof ref !== 'string') return;
|
||||
// ленивое создание менеджера меток
|
||||
if (!this.scene3d._labelManager) {
|
||||
const { LabelManager } = require('./LabelManager');
|
||||
this.scene3d._labelManager = new LabelManager(this.scene3d.scene);
|
||||
}
|
||||
const lm = this.scene3d._labelManager;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user