void Update() { if (fogRenderer != null) { fogRenderer.Render(transform.position); } }
public void LateUpdate() { if (fogRenderer != null) { fogRenderer.Render(transform.position, layer, camera); } }