Net.Project.B/Src/WorldNode/UnitySeatNode.cs

29 lines
700 B
C#
Raw Normal View History

2025-02-24 23:02:49 +08:00
using System;
using System.Collections;
using System.Collections.Generic;
using BITKit.WorldNode;
#if UNITY_5_3_OR_NEWER
using UnityEngine;
2025-03-15 21:13:46 +08:00
using UnityEngine.Experimental.GlobalIllumination;
2025-02-24 23:02:49 +08:00
#endif
namespace Net.Project.B.WorldNode
{
[Serializable]
public class UnitySeatNode :IWorldNode
{
public int Id { get; set; }
2025-03-15 21:13:46 +08:00
public bool hidePlayer;
2025-02-24 23:02:49 +08:00
#if UNITY_5_3_OR_NEWER
2025-03-03 18:43:55 +08:00
public float cameraDistance= 2;
2025-02-24 23:02:49 +08:00
public Rigidbody Rigidbody;
public Transform SeatObject;
public Transform CameraObject;
public Transform ExitObject;
public float CameraDistance => cameraDistance;
2025-03-15 21:13:46 +08:00
public bool HidePlayer => hidePlayer;
2025-02-24 23:02:49 +08:00
#endif
}
}