---
title: AppendSystemToPlayerLoop(ComponentSystemBase, ref PlayerLoopSystem, Type)
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/entities/scriptbehaviourupdateorder/appendsystemtoplayerloop
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/entities/scriptbehaviourupdateorder/appendsystemtoplayerloop.md
last_updated: 2026-11-18
generated_at: 2026-11-18T09:02:11.508Z
locale: en-us
---

# AppendSystemToPlayerLoop(ComponentSystemBase, ref PlayerLoopSystem, Type)

> Add an ECS system to a specific point in the Unity player loop, so that it is updated every frame.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.CoreModule

## AppendSystemToPlayerLoop(ComponentSystemBase, PlayerLoopSystem, Type)

```csharp
public static void AppendSystemToPlayerLoop(ComponentSystemBase system, ref PlayerLoopSystem playerLoop, Type playerLoopSystemType)
```

### Parameters

**** (\[ComponentSystemBase]\(/engine/7000.0/script-reference/unity/entities/componentsystembase)): The ECS system to add to the player loop.**** (\[PlayerLoopSystem]\(/engine/7000.0/script-reference/unityengine/lowlevel/playerloopsystem)): Existing player loop to modify (e.g. PlayerLoop.GetCurrentPlayerLoop())**** (\[Type]\(https\://learn.microsoft.com/dotnet/api/system.type)): The Type of the PlayerLoopSystem subsystem to which the ECS system should be appended. See the UnityEngine.PlayerLoop namespace for valid values.

### Remarks

This function does not change the currently active player loop. If this behavior is desired, it's necessary to call PlayerLoop.SetPlayerLoop(playerLoop) after the systems have been removed.
