private void OnMotherImpact(MotherImpactMessage obj) { var explosion = _motherExplosionQueues.Next(); explosion.renderer.enabled = true; explosion.transform.position = new Vector3(obj.ImpactPosition.x, obj.ImpactPosition.y, transform.position.z); explosion.Play(); }
private void OnMotherImpact(MotherImpactMessage obj) { motherHits++; }