Rhythm Game Starter
  • 🎹Rhythm Game Starter
  • 🌈Showcase
  • 💡FAQ
  • 💻Demo
  • Quick Start
  • ➡️Getting Started
    • Template Workflow
    • Bare Workflow
  • ⭐Components Overview
    • Input Handling [New]
    • Song Manager
    • Stats System
    • Track Manager
    • Track
  • 🎙️Importing Songs
  • 🎼Creating Song Map
    • Recording Mode [0.5+]
    • Sequence Editor
    • Midi Import
      • Track Mapping
      • Note Type Mapping
  • ⏯️Control Song Play / Pause
  • ✨Customization
    • Custom Notes
    • Customize note instance in runtime
    • Note Effects
  • Integration
    • Naninovel
  • Advance
    • Asmdef
  • Notices
    • ⚠️ Limitations
  • Development
    • 💡Development Tips
    • 🔧Changelog
  • Support
    • 💬Discord
    • Asset Store
    • Main Site
Powered by GitBook
On this page
  • Asmdef?
  • Advantage
  • Notices

Was this helpful?

  1. Advance

Asmdef

From 0.8.0+ rgs uses asmdef by default

PreviousNaninovelNext⚠️ Limitations

Last updated 4 years ago

Was this helpful?

Asmdef?

Advantage

Asmdef has multiple advantages such as editor performance and code organization, which is the best practice and commonly used by official unity packages.

Notices

Since with asmdf setup, you cannot reference other code in other assemblies without asmdef directly (e.g. you wanted to modify rgs's scripts directly and referenced some code that is outside of the rgs assembly.)

There are few ways you can go about this

  • (Dirty way) Remove the two asmdef file

  • (Ok way) Add custom UnityEvent or plain old c# event to hook up your custom logic if needed, so there won't be direct code reference in between.

  • (Best way) Have you custom code setup with asmdef, and reference your asmfef to rgs asmdef, this way you can properly reference your code inside rgs assembly.

Learn more about at Unity's docs.

asmdef