mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-09 01:29:17 +00:00
Stickers: added lazy placement preview
This commit is contained in:
parent
d409bf1743
commit
9433779641
6 changed files with 157 additions and 19 deletions
|
@ -83,11 +83,18 @@ public partial class StickerSystem
|
|||
set
|
||||
{
|
||||
_isInStickerMode = value;
|
||||
if (_isInStickerMode) CohtmlHud.Instance.SelectPropToSpawn(
|
||||
if (_isInStickerMode)
|
||||
{
|
||||
CohtmlHud.Instance.SelectPropToSpawn(
|
||||
StickerCache.GetCohtmlResourcesPath(SelectedStickerName),
|
||||
Path.GetFileNameWithoutExtension(SelectedStickerName),
|
||||
"Sticker selected for stickering:");
|
||||
else CohtmlHud.Instance.ClearPropToSpawn();
|
||||
}
|
||||
else
|
||||
{
|
||||
CohtmlHud.Instance.ClearPropToSpawn();
|
||||
ClearStickerPreview();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue