This commit is contained in:
CortexCore
2025-03-03 18:43:55 +08:00
parent 54f40090c9
commit 4402ae533b
32 changed files with 337 additions and 73 deletions

View File

@@ -2,6 +2,7 @@ using System;
using System.Collections;
using System.Collections.Generic;
using BITKit.WorldNode;
using Net.Project.B.Interaction;
#if UNITY_5_3_OR_NEWER
using UnityEngine;
#endif
@@ -17,12 +18,14 @@ namespace Net.Project.B.WorldNode
Locked,
}
[Serializable]
public struct UnityDoorNode:IWorldNode
public class UnityDoorNode:IWorldNode
{
public int Id { get; set; }
public object WorldObject { get; set; }
public UnityDoorState State;
public WorldInteractionProcess InteractionType;
#if UNITY_5_3_OR_NEWER
public Transform DoorTransform;
public Vector3 OpenPosition;
public Vector3 ClosePosition;
public Vector3 OpenEulerAngles;