Closed lexnewgate closed 6 years ago
Hi. That's the same, which condition do you mean? As I see, both scripts work the same way.
Thanks.
Sorry for wasting your time as a unity novice. I thought awake will be invoked when the gameobject is enabled. I didn't realize it will be only invoked once during its lifetime.
Ah, no problem, that's my pleasure.
I found another snippet from Naphier which the
instance!=this
make sense when destroy it.Could you please explain it why you didn't add condition? Thanks.