Door Class

Summary

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

Syntax

[AddComponentMenu(Strings.SamplesMenuPrefix + "Fine Control - Door")]
[AnimancerHelpUrl(typeof(Door))]
[SelectionBase]
public class Door : MonoBehaviour, IInteractable

Remarks

Sample: Doors

Attributes

Type Description
AddComponentMenu
AnimancerHelpUrlAttribute [Assert-Conditional] A UnityEngine.HelpURLAttribute which points to Animancer's documentation.
SelectionBaseAttribute

Methods

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