Hi,
I'm trying to use ObjectPool for my gameobjects. But the value is not reset when instantiated.
I want to know what is the best way to reset the values?
Sorry, I don't know why my character cannot continue shoot while holding the left mouse.
It only shot when I click the button. Holding mouse doen't affect shooting.
Please help me to find anything wrong with my setup.
Thank you,
Hi, I'm trying to use your virtual controls in my game.
The virtualtouchpad and virtualjoystick work just fine for single touch alone.
But it becomes lagging when I use two touches for these two controls. Look like they using the same some variables or some thing.
Sorry, I tried several ways but it didn't work. I believe it is something related to the Pooling system. When the projectile is pooled, it's doesn't apply changes.
By the way, Is there any way to clear the pool?
Hi,
I can modify the speed of AssaultRifleProjectile prefab using Inspector. But, How can I change it when the game is played?
Sorry, I don't know where the prefab object is linked to the scene.
Hi @Justin,
I'm sorry, maybe my question is not straightforward. The problem is I want the projectile to take damage to my character but it does not. It just hit the character and created some decals around my character.
Hi,
I'm trying to fire a Projectile by myself. Here is my steps:
1. I instantiate the prefab using ObjectPoolBase
2. Call the Initialize function.
But the projectile can collider with my character ( because there are decals on the character collider). However, my projectile takes no damage...