Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
using WallstopStudios.UnityHelpers.Tags; namespace MB6 { public static class AttributeExtensions { private static AttributeModification _mod = new AttributeModification(); public static Attribute Add(this Attribute a, float b) { _mod.attribute = a.ToString(); _mod.value = b; _mod.action = ModificationAction.Addition; a.ApplyAttributeModification(_mod); return a; } public static Attribute Mult(this Attribute a, float b) { _mod.attribute = a.ToString(); _mod.value = b; _mod.action = ModificationAction.Multiplication; a.ApplyAttributeModification(_mod); return a; } } }
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)