This commit is contained in:
CortexCore
2024-11-23 17:20:13 +08:00
commit bb257507bc
133 changed files with 2574 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
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
{
public enum UnityDoorState
{
NoState,
Opened,
Closed,
Disabled,
Locked,
}
[Serializable]
public struct UnityDoorNode:IWorldNode
{
public int Id { get; set; }
public object WorldObject { get; set; }
public UnityDoorState State;
#if UNITY_5_3_OR_NEWER
public Vector3 OpenPosition;
public Vector3 ClosePosition;
public Vector3 OpenEulerAngles;
public Vector3 CloseEulerAngles;
#endif
}
}