コード例 #1
0
        void RecalcTrash()
        {
            if (Sync.IsServer == false)
            {
                MyMultiplayer.RaiseStaticEvent(x => UploadSettingsToServer, MyTrashRemoval.PreviewSettings);
            }
            int num = MyTrashRemoval.Calculate(MyTrashRemoval.PreviewSettings);

            m_labelNumVisible.TextToDraw.Clear().ConcatFormat(MyTexts.GetString(MyCommonTexts.ScreenDebugAdminMenu_NumberOfLocalTrash), num);
        }
コード例 #2
0
        void RecalcTrash()
        {
            int num = MyTrashRemoval.Calculate(MyTrashRemoval.PreviewSettings);

            m_labelNumVisible.TextToDraw.Clear().ConcatFormat(MyTexts.GetString(MyCommonTexts.ScreenDebugAdminMenu_NumberOfLocalTrash), num);
        }