I tried to read the doc on DOTS instancing here Unity - Manual: DOTS Instancing shaders but I don’t see any C# code example on how to change the property of a material with shader that supports DOTS instancing.
This is what I do to set the color of an object in my game. This breaks batching. If I don’t call any Property block code then the Batching works on all of the objects.
using Lean.Pool;
using UnityEngine;
namespace CrowdControl
{
public class VisualSystem : MonoBehaviour, IMobSystem
{
private MobSystem _mobSystem;
private FightSystem _fi



