This is the old Animancer v7.4 documentation. Click here for the latest version.

Door Class

Summary

An Animancer.Examples.FineControl.IInteractable door which toggles between open and closed when something interacts with it.
Assembly
Animancer.dll
Namespace
Animancer.Examples.FineControl
Interfaces
Base Types
  • MonoBehaviour
graph BT Type-->Base0["MonoBehaviour"] Type-.->Interface0["IInteractable"] click Interface0 "/animancer-v7-4/api/Animancer.Examples.FineControl/IInteractable" Type["Door"] class Type type-node

Syntax

[AddComponentMenu(Strings.ExamplesMenuPrefix + "Fine Control - Door")]
[HelpURL(Strings.DocsURLs.ExampleAPIDocumentation + nameof(FineControl) + "/" + nameof(Door))]
[SelectionBase]
public sealed class Door : MonoBehaviour, IInteractable

Examples

Doors

Attributes

Type Description
AddComponentMenu
HelpURLAttribute
SelectionBaseAttribute

Methods

Name Value Summary
Interact() void
[Animancer.Examples.FineControl.IInteractable] Toggles this door between open and closed.