/// <summary> /// <para>Updates and synchronizes the GPU Instancer transform data (position, rotation and scale) for the given prefab instance.</para> /// <para>Use this if you want to update, rotate, and/or scale prefab instances after initialization.</para> /// <para>The updated values are taken directly from the transformation operations made beforehand on the instance's Unity transform component. /// (These operations will not reflect on the GPU Instanced prefab automatically unless you use this method).</para> /// </summary> /// <param name="manager">The manager that defines the prototypes you want to GPU instance.</param> /// <param name="prefabInstance">The prefab instance to update the transform values of. The instance's Unity transform component must be updated beforehand.</param> public static void UpdateTransformDataForInstance(GPUInstancerPrefabManager manager, GPUInstancerPrefab prefabInstance) { manager.UpdateTransformDataForInstance(prefabInstance); }