Class SlidingDoor
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public class SlidingDoor : MonoBehaviour
- Inheritance
-
SlidingDoor
- Inherited Members
-
- Extension Methods
-
Constructors
SlidingDoor()
Fields
alwaysOpen
Field Value
- bool
anim
Field Value
- Animator
isOpen
Field Value
- bool
leftDoor
public Transform leftDoor
Field Value
- Transform
leftEdge
public Transform leftEdge
Field Value
- Transform
rightDoor
public Transform rightDoor
Field Value
- Transform
rightEdge
public Transform rightEdge
Field Value
- Transform
sinceTryClose
public float sinceTryClose
Field Value
- float
trigger
public BoxCollider trigger
Field Value
- BoxCollider
view
Field Value
- PhotonView
Methods
ConfigEdges()
public void ConfigEdges()
OnTriggerEnter(Collider)
public void OnTriggerEnter(Collider other)
Parameters
other
Collider
RPCA_Close()
[PunRPC]
public void RPCA_Close()
RPCA_Open()
[PunRPC]
public void RPCA_Open()
Start()
TryClose()
Update()