23 lines
621 B
C#
23 lines
621 B
C#
![]() |
#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
|