public void SetVisibleServer(bool visible)
 {
     if (visible)
     {
         AppearAtPositionServer(PushPull.AssumedWorldPositionServer());
     }
     else
     {
         DisappearFromWorldServer();
     }
 }
Esempio n. 2
0
    private void CreateHotspot()
    {
        // send some heat on firesource position
        var position = pushPull.AssumedWorldPositionServer();

        if (position != TransformState.HiddenPos)
        {
            var registerTile = pushPull.registerTile;
            if (registerTile)
            {
                var reactionManager = registerTile.Matrix.ReactionManager;
                reactionManager.ExposeHotspotWorldPosition(position.To2Int(), hotspotTemperature, changeGasMixTemp);
            }
        }
    }