Пример #1
0
 private void Colorize(ObstacleController __instance, ObstacleData obstacleData)
 {
     _manager.Colorize(__instance, TechnicolorController.GetTechnicolor(
                           true,
                           obstacleData.time + __instance.GetInstanceID(),
                           TechnicolorConfig.Instance.TechnicolorWallsStyle));
 }
Пример #2
0
#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));
        }
Пример #3
0
 private static void Postfix(ObstacleController __instance, ObstacleData obstacleData)
 {
     __instance.ColorizeObstacle(TechnicolorController.GetTechnicolor(true, obstacleData.time + __instance.GetInstanceID(), TechnicolorConfig.Instance.TechnicolorWallsStyle));
 }