#canvas widget feedback
1 messages · Page 1 of 1 (latest)
semi related, you do not need the refs there inside your method. They are only needed on class member level mostly 🙂 So just
LineDrawCommand drawLine = new LineDrawCommand();
...
array<ref CanvasWidgetCommand> mapDrawCommands = {};
https://github.com/jpetanjek/Project-Refine/blob/33ed0ae589e01322877d6f028819f25bdc004353/ProjectRefine/scripts/Game/ProjectRefine/Map/PR_CaptureAreaMapIconComponent.c#L124 this mod was kinda like squad and i think they did the lines on map here might be outdated tho