Bizorke / Gear3Engine-Issues

For bugs and features.
1 stars 0 forks source link

Better way to get a GameObject's extension. #1300

Open JSideris opened 2 years ago

JSideris commented 2 years ago

Following line was taken from an example in development:

s.player = explorer.g3eExtensions["ExplorerPainter"] as any as Drawable2d;

Very ugly. There should be a more intuitive way to do this.