1
This commit is contained in:
@@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
namespace BITKit
|
||||
{
|
||||
public class PhysicsDoor : MonoBehaviour, IAction
|
||||
public class PhysicsDoor : MonoBehaviour, IAction,IDescription
|
||||
{
|
||||
public enum State
|
||||
{
|
||||
@@ -12,7 +12,7 @@ namespace BITKit
|
||||
HalfOpen,
|
||||
Locked,
|
||||
}
|
||||
|
||||
[SerializeField] private string description;
|
||||
[SerializeField] private bool allowPhysics = true;
|
||||
[SerializeField] private Rigidbody root;
|
||||
[SerializeField] private Vector3 openEuler;
|
||||
@@ -69,5 +69,6 @@ namespace BITKit
|
||||
};
|
||||
Set(isClosed);
|
||||
}
|
||||
public string Name => description;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user