public override void EndShowPreview() { GameManager.gameManager.SlwMoManager.StopAimSlowMo(); if (spawnedPreview != null) { spawnedPreview.HidePreparePreview(); spawnedPreview = null; } }
public void StartShowPreview(Ship relatedShip) { GameManager.gameManager.SlwMoManager.StartAimSlowMo(EquipmentType.Hull); if (protectionParameters.GeneratesProtectionSphere) { spawnedPreview = (GameManager.gameManager.PoolManager.GetPreview(PreviewPoolTag.Sphere, PoolInteractionType.GetFromPool) as SpherePreview); if (spawnedPreview != null) { spawnedPreview.ShowPreparePreview(relatedShip, protectionParameters.GetProtectionSphereRadius); } } }