更新obi到7.1

This commit is contained in:
Bob.Song
2025-11-03 11:53:45 +08:00
parent d12e1bc495
commit 7cf7f545bc
1161 changed files with 158924 additions and 37802 deletions

View File

@@ -2,13 +2,16 @@
using System.Collections.Generic;
using UnityEngine;
public class RopeTenser : MonoBehaviour
namespace Obi.Samples
{
public float force = 10;
// Update is called once per frame
void Update()
public class RopeTenser : MonoBehaviour
{
GetComponent<Rigidbody>().AddForce(Vector3.down * force);
public float force = 10;
// Update is called once per frame
void Update()
{
GetComponent<Rigidbody>().AddForce(Vector3.down * force);
}
}
}