Files
Net.Project.B/Src/WorldNode/UnitySeatNode.cs
CortexCore 4402ae533b 1
2025-03-03 18:43:55 +08:00

26 lines
571 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using BITKit.WorldNode;
#if UNITY_5_3_OR_NEWER
using UnityEngine;
#endif
namespace Net.Project.B.WorldNode
{
[Serializable]
public class UnitySeatNode :IWorldNode
{
public int Id { get; set; }
#if UNITY_5_3_OR_NEWER
public float cameraDistance= 2;
public Rigidbody Rigidbody;
public Transform SeatObject;
public Transform CameraObject;
public Transform ExitObject;
public float CameraDistance => cameraDistance;
#endif
}
}