private void Colorize(ObstacleController __instance, ObstacleData obstacleData) { _manager.Colorize(__instance, TechnicolorController.GetTechnicolor( true, obstacleData.time + __instance.GetInstanceID(), TechnicolorConfig.Instance.TechnicolorWallsStyle)); }
#pragma warning disable SA1313 // Parameter names should begin with lower-case letter private static void Prefix(ObstacleController __instance, ObstacleData obstacleData) #pragma warning restore SA1313 // Parameter names should begin with lower-case letter { __instance.SetObstacleColor(TechnicolorController.GetTechnicolor(true, obstacleData.time + __instance.GetInstanceID(), TechnicolorConfig.Instance.TechnicolorWallsStyle)); }
private static void Postfix(ObstacleController __instance, ObstacleData obstacleData) { __instance.ColorizeObstacle(TechnicolorController.GetTechnicolor(true, obstacleData.time + __instance.GetInstanceID(), TechnicolorConfig.Instance.TechnicolorWallsStyle)); }