public static void CreateGhostModelPrefix(PlaceTool __instance, ref bool __state) { SnapBuilder.Config.ResetToggles(); __state = __instance.ghostModel == null; SnapBuilder.ShowSnappingHint(__state); }
public static void BeginPrefix(ref bool __state) { SnapBuilder.Config.ResetToggles(); __state = Builder.ghostModel == null; SnapBuilder.ShowSnappingHint(__state); }