mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 22:39:22 +00:00
[PhysicsGunMod] fox
This commit is contained in:
parent
4b83846c39
commit
e2e4463663
3 changed files with 13 additions and 11 deletions
|
@ -13,16 +13,16 @@ public class PhysicsGunMod : MelonMod
|
|||
{
|
||||
Logger = LoggerInstance;
|
||||
|
||||
// add to prop whitelist
|
||||
SharedFilter._spawnableWhitelist.Add(typeof(PhysicsGunInteractionBehavior));
|
||||
|
||||
// add to event whitelist
|
||||
SharedFilter._allowedEventComponents.Add(typeof(PhysicsGunInteractionBehavior));
|
||||
SharedFilter._allowedEventFunctions.Add(typeof(PhysicsGunInteractionBehavior), new List<string>
|
||||
{
|
||||
"set_enabled",
|
||||
// TODO: expose more methods like release ?
|
||||
});
|
||||
// // add to prop whitelist
|
||||
// //SharedFilter._spawnableWhitelist.Add(typeof(PhysicsGunInteractionBehavior));
|
||||
//
|
||||
// // add to event whitelist
|
||||
// SharedFilter._allowedEventComponents.Add(typeof(PhysicsGunInteractionBehavior));
|
||||
// SharedFilter._allowedEventFunctions.Add(typeof(PhysicsGunInteractionBehavior), new List<string>
|
||||
// {
|
||||
// "set_enabled",
|
||||
// // TODO: expose more methods like release ?
|
||||
// });
|
||||
|
||||
// apply patches
|
||||
ApplyPatches(typeof(CVRInputManagerPatches));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue