This repository has been archived by the owner on Aug 22, 2018. It is now read-only.
This repository has been archived by the owner on Aug 22, 2018. It is now read-only.
Check [NotNull] in the game studio #662
Open
Description
The use case would be making sure that every entity has all required components. For example, a player controller component (move the player with the keyboard) needs a camera.
public class PlayerControllerComponent: SyncScript
{
//Game Studio doesn't seem to check this, which makes it rather useless
[NotNull]
public CameraComponent Camera { get; set; }
}
Though, only public properties which can be edited in the game studio should be checked.
Metadata
Assignees
Labels
No labels
Activity