mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-06-26 11:24:46 +00:00
26 lines
478 B
C#
26 lines
478 B
C#
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);
|
|
}
|
|
}
|