public static void RefreshTintmap(BoundsInt position) { TintTextureGenerator instance = FindObjectOfType <TintTextureGenerator>(); if (instance != null) { instance.Refresh(position); } }
public static void RefreshTintmap() { TintTextureGenerator instance = FindObjectOfType <TintTextureGenerator>(); if (instance != null) { instance.Refresh(); } }