﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;



public static class StaticEventExample
{
    [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.AfterSceneLoad)]
    static void Init()
    {
        UnityEventDispatcher.OnFixedUpdate += FixedUpdate;
    }

    private static void FixedUpdate()
    {
        Debug.Log("Static Fixed Update");
    }
}
