1
This commit is contained in:
32
Src/WorldNode/UnityDoorNode.cs
Normal file
32
Src/WorldNode/UnityDoorNode.cs
Normal 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
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user