mirror of
https://github.com/celisej567/gm_construct_port.git
synced 2026-09-27 16:16:14 +03:00
Add files via upload
This commit is contained in:
25
code/ui/SandboxHud.cs
Normal file
25
code/ui/SandboxHud.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using Sandbox;
|
||||
using Sandbox.UI;
|
||||
|
||||
[Library]
|
||||
public partial class SandboxHud : HudEntity<RootPanel>
|
||||
{
|
||||
public SandboxHud()
|
||||
{
|
||||
if ( !IsClient )
|
||||
return;
|
||||
|
||||
RootPanel.StyleSheet.Load( "/ui/SandboxHud.scss" );
|
||||
|
||||
RootPanel.AddChild<NameTags>();
|
||||
RootPanel.AddChild<CrosshairCanvas>();
|
||||
RootPanel.AddChild<ChatBox>();
|
||||
RootPanel.AddChild<VoiceList>();
|
||||
RootPanel.AddChild<KillFeed>();
|
||||
RootPanel.AddChild<Scoreboard<ScoreboardEntry>>();
|
||||
RootPanel.AddChild<Health>();
|
||||
RootPanel.AddChild<InventoryBar>();
|
||||
RootPanel.AddChild<CurrentTool>();
|
||||
RootPanel.AddChild<SpawnMenu>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user