Files
Net.Project.B/Src/WorldNode/UnitySubwayNode.cs

23 lines
621 B
C#
Raw Normal View History

2025-04-14 15:39:24 +08:00
#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