show me a simple implementation of jobSystem in unity
show me a simple implementation of jobSystem in unity

In Unity, you can create a job system using C# and the Burst compiler. Here's a simple example of a job system that creates a ComputeShader job.

First, create a ComputeShader in your Unity project:

1. Create a new folder named "Shader" in your project.
2. Right-click on the "Shader" folder, select "Create -> Compute Shader". Name it "SimpleJobShader".
3. Open "SimpleJobShader" in the Shader Editor and replace the contents with this code:

```csharp
Shader "Custom/SimpleJobShader" {
    Properties {
        _MainTex ("Texture", 2D) = "white" {}
    }

    SubShader {
        Tags { "RenderType"="Opaque" }
        LOD 100

        Pass {
            CGPROGRAM
            #pragma kernel SimpleJob
            #pragma multi_compile _CS_ENABLE_STRIDE_ZERO_TEXTURE_SAMPLING

            sampler2D _MainTex;

            RWStructuredBuffer<float> result;

            ENDCG

            void SimpleJob(uint3<int> DispatchThreadID : SV_DispatchThreadID) {
                result[DispatchThreadID.x] = _
//JobSystem.cs

public class JobSystem : MonoBehaviour {
    private static List<GameObject> jobs = new List<GameObject>();
    private static int currentJob = 0;

    // Use this for initialization
    void Start()
    {
        jobs.Add(GameObject.Find("Job_" + currentJob));
    }

    // Update is called once per frame
    void Update()
    {
        currentJob++;
        if (currentJob >= jobs.Count)
            currentJob = 0;

        jobs.RemoveAt(currentJob);
    }
}