Operators Class

Summary

Utility methods for UltEvents to call which execute primitive type operators which aren't normally callable because they're handled directly by IL Opcodes rather than actual methods.
Assembly
UltEvents.dll
Namespace
UltEvents
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["Operators"] class Type type-node

Syntax

public static class Operators

Remarks

Using these is not generally recommended because UltEvents isn't intended to be a visual scripting system. Setting up events to use them is very cumbersome so it's probably better to just write your own methods with whatever math you need.

Methods

Name Value Summary
Add(double, double) double
static
Add(float, float) float
static
Add(int, int) int
static
Add(long, long) long
static
Divide(double, double) double
static
Divide(float, float) float
static
Divide(int, int) int
static
Divide(long, long) long
static
Equals(bool, bool) bool
static
Equals(double, double) bool
static
Equals(float, float) bool
static
Equals(int, int) bool
static
Equals(long, long) bool
static
Invert(bool) bool
static
Multiply(double, double) double
static
Multiply(float, float) float
static
Multiply(int, int) int
static
Multiply(long, long) long
static
Subtract(double, double) double
static
Subtract(float, float) float
static
Subtract(int, int) int
static
Subtract(long, long) long
static