/// <summary> /// Auto release bullet GameObject. /// </summary> protected void AutoReleaseBulletGameObject(GameObject goBullet) { if (_UseAutoRelease == false || _AutoReleaseTime < 0f) { return; } UbhCoroutine.StartIE(AutoReleaseBulletGameObjectCoroutine(goBullet)); }
/// <summary> /// Auto release bullet GameObject. /// </summary> protected void AutoReleaseBullet(UbhBullet bullet) { if (m_useAutoRelease == false || m_autoReleaseTime < 0f) { return; } UbhCoroutine.StartIE(AutoReleaseBulletCoroutine(bullet)); }