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

33 lines
693 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
{
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
}
}