Quantcast
Channel: Programming (In-game)
Viewing all articles
Browse latest Browse all 645

Behaviour of saved blocks (error handling)

$
0
0
Already tried a bit, but there was no null reference exception or what I would expect. Maybe someone else knows more what happens with saved blocks (global / member variable), when they change (e.g. deleted, damaged etc.) ingame.

In my case, a rotor is handled by the script, but even if I delete it, the script runs on. Also, access its properties. So is the underlying object forever in memory or did I just not wait enough?

Viewing all articles
Browse latest Browse all 645

Latest Images

Trending Articles



Latest Images