Logo
Explore Help
Sign In
juni/crystall-punk-14
1
0
Fork 0
You've already forked crystall-punk-14
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
master
crystall-punk-14/Content.Server/Coordinates/SpawnRandomOffsetComponent.cs

9 lines
224 B
C#
Raw Permalink Normal View History

Spawn with Random Offset component (#10969) Adds SpawnRandomOffsetComponent, which can be used to randomly move a component on map init Co-authored-by: wrexbe <wrexbe@protonmail.com>
2022-09-16 22:01:31 +02:00
namespace Content.Server.Coordinates;
[RegisterComponent]
Refactor serialization copying to use source generators (#19412)
2023-08-22 18:14:33 -07:00
public sealed partial class SpawnRandomOffsetComponent : Component
Spawn with Random Offset component (#10969) Adds SpawnRandomOffsetComponent, which can be used to randomly move a component on map init Co-authored-by: wrexbe <wrexbe@protonmail.com>
2022-09-16 22:01:31 +02:00
{
[ViewVariables(VVAccess.ReadWrite)]
[DataField("offset")] public float Offset = 0.5f;
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 249ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API