mattrdowney / planetaria

A Unity framework for Euclidean 2-sphere games (e.g. 2D virtual reality games) [quasi-MIT license]
Other
10 stars 2 forks source link

When PlanetariaLight is deleted, __InternalLight persists #122

Open mattrdowney opened 6 years ago

mattrdowney commented 6 years ago

This issue should be pervasive throughout the different components that add child objects.

mattrdowney commented 5 years ago

There needs to be a concept of internal object Resource Allocation Is Initialization (RAII). Until a minute ago, I thought of using the tag to store the component name that created the child object, but using the component's global unique identifier (GUID) seems like an ideal solution.

mattrdowney commented 5 years ago

This is a side effect of #125