Feature: allowing the mapper to instantiate prefabs from the game with the InstantiatePrefab event
I have 2 ideas on how this could be implemented
- make all the prefabs in Beat Saber accessible with the event
Example:
{
"b": "5",
"t": "InstantiatePrefab",
"d": {
"asset": "BeatSaber/Logo.prefab" // this probably doesn't exist in game but whatever
}
}
- implement "fake" prefabs in the AssetBundle
When you create an asset bundle, you could put in arbitrary data to link a prefab into an internal object in Beat Saber, these are then instantiated like a normal prefab in the event and Vivify notices the link and instantiates the internal object
This should help people who want to use parts of Beat Saber's environment itself while avoiding copyright issues by embedding Beat Saber assets into their bundle
Feature: allowing the mapper to instantiate prefabs from the game with the
InstantiatePrefabeventI have 2 ideas on how this could be implemented
Example:
{ "b": "5", "t": "InstantiatePrefab", "d": { "asset": "BeatSaber/Logo.prefab" // this probably doesn't exist in game but whatever } }When you create an asset bundle, you could put in arbitrary data to link a prefab into an internal object in Beat Saber, these are then instantiated like a normal prefab in the event and Vivify notices the link and instantiates the internal object
This should help people who want to use parts of Beat Saber's environment itself while avoiding copyright issues by embedding Beat Saber assets into their bundle