This commit is contained in:
CortexCore
2025-03-15 21:13:46 +08:00
parent b714f76560
commit ff7afe4133
22 changed files with 177 additions and 20 deletions

View File

@@ -4,6 +4,7 @@ using System.Collections.Generic;
using BITKit.WorldNode;
#if UNITY_5_3_OR_NEWER
using UnityEngine;
using UnityEngine.Experimental.GlobalIllumination;
#endif
namespace Net.Project.B.WorldNode
@@ -12,6 +13,7 @@ namespace Net.Project.B.WorldNode
public class UnitySeatNode :IWorldNode
{
public int Id { get; set; }
public bool hidePlayer;
#if UNITY_5_3_OR_NEWER
public float cameraDistance= 2;
public Rigidbody Rigidbody;
@@ -20,6 +22,7 @@ namespace Net.Project.B.WorldNode
public Transform ExitObject;
public float CameraDistance => cameraDistance;
public bool HidePlayer => hidePlayer;
#endif
}
}