Unity Tip - Use Debug.Assert() to verify your script (Patreon)
Published:
2022-12-07 08:37:49
Imported:
2026-06
haven't archived this post yet. have a subscription? use the importer!
Downloads
Missing 1 file, as this post has not yet been imported.
Content
We can use 𝗗𝗲𝗯𝘂𝗴.𝗔𝘀𝘀𝗲𝗿𝘁(..) to 𝘃𝗲𝗿𝗶𝗳𝘆 if our 𝘀𝗰𝗿𝗶𝗽𝘁 𝗶𝘀 𝘀𝗲𝘁 𝘂𝗽 𝗰𝗼𝗿𝗿𝗲𝗰𝘁𝗹𝘆 - instead of writing a custom if...else blocks each time🤓👍