ShipCustomAttach: center the prompts, people are dumbasses

This commit is contained in:
JohnCorby 2022-03-27 17:51:28 -07:00
parent a07712ea6e
commit 55521f4570

View File

@ -11,8 +11,8 @@ public class ShipCustomAttach : MonoBehaviour
private void Awake()
{
Locator.GetPromptManager().AddScreenPrompt(_attachPrompt, PromptPosition.UpperRight);
Locator.GetPromptManager().AddScreenPrompt(_detachPrompt, PromptPosition.UpperRight);
Locator.GetPromptManager().AddScreenPrompt(_attachPrompt, PromptPosition.Center);
Locator.GetPromptManager().AddScreenPrompt(_detachPrompt, PromptPosition.Center);
_playerAttachPoint = gameObject.AddComponent<PlayerAttachPoint>();
_playerAttachPoint._lockPlayerTurning = false;
@ -24,8 +24,8 @@ public class ShipCustomAttach : MonoBehaviour
{
if (Locator.GetPromptManager())
{
Locator.GetPromptManager().RemoveScreenPrompt(_attachPrompt, PromptPosition.UpperRight);
Locator.GetPromptManager().RemoveScreenPrompt(_detachPrompt, PromptPosition.UpperRight);
Locator.GetPromptManager().RemoveScreenPrompt(_attachPrompt, PromptPosition.Center);
Locator.GetPromptManager().RemoveScreenPrompt(_detachPrompt, PromptPosition.Center);
}
}