📗
Padlock System - Doc
  • Padlock System - Introduction
  • ⭐Getting Started
    • Quick Start
    • Detailed Setup
  • ❓Support
    • FAQ
    • Unlock Event
    • Yellow Warnings?
    • Input Locations
    • Adding Audio Clips
    • Adding Trigger Event
    • Changing Materials
    • System Namespace
    • Changing Character Controller
  • 🌀Development
    • Patch Notes - V1.6
    • Roadmap
  • 📧Contacts
    • Contact Me
    • My Other Assets
Powered by GitBook
On this page

Was this helpful?

  1. Support

Unlock Event

PreviousFAQNextYellow Warnings?

Last updated 1 year ago

Was this helpful?

How to change the unlock event code when the door opens:

  • In the PadlockController script object, this uses UnityEvents which allows you to click the + icon in the bottom right and then add your own objects with a script with a public method.

  • I have an example in the demo scene, which uses the door object with the “DoorAnimation” script to run the code in there to open the door.

  • Just create a new event here and add your own logic

❓