EVERYTHING

This commit is contained in:
niko
2026-06-01 17:19:55 +02:00
parent d063b81359
commit b62bac090b
1081 changed files with 1716544 additions and 0 deletions
@@ -0,0 +1,26 @@
using System;
using UnityEngine;
[DisallowMultipleComponent]
public sealed class PowerBehavior : GuardedValueNodeBehavior
{
protected override void RecomputeCore()
{
double inputNumber = GetInputNumber("A");
double inputNumber2 = GetInputNumber("B");
double num;
try
{
num = Math.Pow(inputNumber, inputNumber2);
if (double.IsNaN(num) || double.IsInfinity(num))
{
num = 0.0;
}
}
catch
{
num = 0.0;
}
SetOutputValueIfChanged("Output", BSValue.FromNumber(num));
}
}