26 lines
478 B
C#
Raw Permalink Normal View History

2024-01-31 19:16:05 +08:00
using System.Collections;
using System.Collections.Generic;
using BepuPhysics;
using BepuUtilities.Memory;
using Plugins.JNGame.BepuPhysics;
using UnityEngine;
public class DemoMain : MonoBehaviour
{
private JNBepuPhysics Physics;
// Start is called before the first frame update
void Awake()
{
Physics = new JNBepuPhysics();
}
// Update is called once per frame
void Update()
{
Physics.OnUpdate(Time.deltaTime);
}
}