Comments (7)
Also having this issue.
from recyclerkit.
I'm also having the same issue. Also just using despawn doesn't work for me either.
from recyclerkit.
I still can't reproduce this. Using the included demo scene pressing the "Spawn Cube" button results in the cube being created then recycled after a delay.
Have you tried setting a breakpoint in the internalDespawnAfterDelay where the object is recycled?
from recyclerkit.
Hi,
In unity 5.3.4 if relevant.
So on a ui text prefab. I have
void Update ()
{
If (timeToReturn <= 0)
{
ActiveNow = true;
If (ActiveNow == true)
{
TrashMan.despawn (go:gameObject);
Print ("code executed");
}
}
from recyclerkit.
Oops doing this on phone, not to well. I missed a }.
It doesn't print the line. On the delay I kept getting in the console Trying to Invoke delayDespawn. When I tried using it that way to see if it would yield results. In the delay in seconds I have declared it to be 2f. That didn't work.
Thanks.
from recyclerkit.
subscribed
from recyclerkit.
I found that if I use despawnAfterDelay on the spawned object itself, it wouldn't work. However if I have it on the object that spawns it, it works fine. Probably obvious but thought I'd comment.
from recyclerkit.
Related Issues (12)
- Multi-TrashMan version
- automaticallyRecycleParticleSystems is true but there is no ParticleSystem on this GameObject! HOT 2
- Lose editor settings when entering scene
- The issue: "attempted to spawn a GameObject from recycle bin (WordUnit) but there is no recycle bin setup for it" HOT 1
- Your license seems to be more restrictive than you want HOT 1
- Licence HOT 1
- OnLevelWasLoaded call order HOT 1
- Stack count or compare to null? HOT 1
- Sudden disappearance of GO's? HOT 2
- ObjectComponent version returns null GameObjects when testing in the editor HOT 3
- Issues on PC standalone HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recyclerkit.