This commit is contained in:
CortexCore
2025-04-14 15:39:24 +08:00
parent 5fceb6f885
commit 3f9d9f19ce
50 changed files with 683 additions and 41 deletions

View File

@@ -0,0 +1,23 @@
#if UNITY_5_3_OR_NEWER
using System;
using System.Collections;
using System.Collections.Generic;
using BITKit.WorldNode;
using UnityEngine;
namespace Net.Project.B.WorldNode
{
[Serializable]
public class UnitySubwayNode:IWorldNode
{
[SerializeField] private Rigidbody subway;
[SerializeField] private float speed;
[SerializeField] private Transform spline;
[SerializeField] private Vector3 offset;
public Rigidbody Subway => subway;
public float Speed => speed;
public Transform Spline => spline;
public Vector3 Offset => offset;
}
}
#endif