void OnEnable()
 {
     if (myTarget == null)
     {
         myTarget = (VRCSDK2.VRC_PlayerMods)target;
     }
 }
    public static void Init(VRCSDK2.VRC_PlayerMods target, AddModCallback callback)
    {
        // Get existing open window or if none, make a new one:
        EditorWindow.GetWindow (typeof (VRCPlayerModEditorWindow));
        addModCallback = callback;
        myTarget = target;

        type = VRCSDK2.VRCPlayerModFactory.PlayerModType.Jump;
    }
 void OnEnable()
 {
     if(myTarget == null)
         myTarget = (VRCSDK2.VRC_PlayerMods)target;
 }