{"action":"closed","issue":{"url":"https://api.github.com/repos/modesttree/Zenject/issues/439","repository_url":"https://api.github.com/repos/modesttree/Zenject","labels_url":"https://api.github.com/repos/modesttree/Zenject/issues/439/labels{/name}","comments_url":"https://api.github.com/repos/modesttree/Zenject/issues/439/comments","events_url":"https://api.github.com/repos/modesttree/Zenject/issues/439/events","html_url":"https://github.com/modesttree/Zenject/issues/439","id":310883411,"node_id":"MDU6SXNzdWUzMTA4ODM0MTE=","number":439,"title":"Return despawned by MonoMemoryPool objects to the transform defined in UnderTransform[Group]()","user":{"login":"waitxd","id":1471341,"node_id":"MDQ6VXNlcjE0NzEzNDE=","avatar_url":"https://avatars1.githubusercontent.com/u/1471341?v=4","gravatar_id":"","url":"https://api.github.com/users/waitxd","html_url":"https://github.com/waitxd","followers_url":"https://api.github.com/users/waitxd/followers","following_url":"https://api.github.com/users/waitxd/following{/other_user}","gists_url":"https://api.github.com/users/waitxd/gists{/gist_id}","starred_url":"https://api.github.com/users/waitxd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waitxd/subscriptions","organizations_url":"https://api.github.com/users/waitxd/orgs","repos_url":"https://api.github.com/users/waitxd/repos","events_url":"https://api.github.com/users/waitxd/events{/privacy}","received_events_url":"https://api.github.com/users/waitxd/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-04-03T15:22:29Z","updated_at":"2018-06-04T11:08:52Z","closed_at":"2018-06-04T11:08:52Z","author_association":"NONE","body":"Use case: \r\nI spawn GameObjects in MonoMemoryPool and use them somewhere in the scene hierarchy (to fight Z-order for example).\r\nAfter Despawn they are remain somewhere in the scene and may be destroyed with their new parents, so I have to save reference to a some undestroyable transform for each MonoMemoryPool I use.\r\n\r\nIt seems right now there is no way to access defined parent transform from Pool or Factory to override OnDespawn method.\r\n\r\nIs there a way to achieve this kind of behavior in the current implementation of Zenject?"}}
{"actor":{"display_login":"svermeulen"}}