mirror of
https://github.com/rmroc451/TweaksAndThings.git
synced 2025-12-18 02:09:37 -06:00
#25 adding follow to car context menu
This commit is contained in:
@@ -45,6 +45,11 @@ internal class CarPickable_HandleShowContextMenu_Patch
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
shared.AddButton(ContextMenuQuadrant.Unused2, $"Follow", SpriteName.Inspect, delegate
|
||||||
|
{
|
||||||
|
CameraSelector.shared.FollowCar(car);
|
||||||
|
});
|
||||||
|
|
||||||
shared.BuildItemAngles();
|
shared.BuildItemAngles();
|
||||||
shared.StartCoroutine(shared.AnimateButtonsShown());
|
shared.StartCoroutine(shared.AnimateButtonsShown());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user