public static void InitializeWithScene()
        {
            var settingsGO = GameObject.Find("Settings");

            Settings = settingsGO?.GetComponent <TwoStickExampleSettings>();
            if (!Settings)
            {
                return;
            }

            EnemySpawnSystem.SetupComponentData();

            World.Active.GetOrCreateManager <UpdatePlayerHUD>().SetupGameObjects();
        }
 static float GetCollisionRadius(TwoStickExampleSettings settings, Faction.Type faction)
 {
     // This simply picks the collision radius based on whether the receiver is the player or not.
     // In a real game, this would be much more sophisticated, perhaps with a CollisionRadius component.
     return(faction == Faction.Type.Player ? settings.playerCollisionRadius : settings.enemyCollisionRadius);
 }