helper functions added
- Added helper functions to facilitate Vector3 and Transform operations. - Defined operator overloads for Vector3 (not tested). - Added fly and spawnPrefab functions to the Misc namespace (not tested). - Added fly speed to settings.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Generated C++ file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty
|
||||
// Generated C++ file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty
|
||||
// Target Unity version: 2021.2.0 - 2021.2.99
|
||||
|
||||
#if defined(_GHIDRA_) || defined(_IDA_)
|
||||
@@ -84572,6 +84572,18 @@ struct Vector3 {
|
||||
float x;
|
||||
float y;
|
||||
float z;
|
||||
|
||||
app::Vector3 operator+(const app::Vector3& other) const {
|
||||
return { x + other.x, y + other.y, z + other.z };
|
||||
}
|
||||
|
||||
app::Vector3 operator*(float scalar) const {
|
||||
return { x * scalar, y * scalar, z * scalar };
|
||||
}
|
||||
|
||||
app::Vector3 operator-(const app::Vector3& other) const {
|
||||
return { x - other.x, y - other.y, z - other.z };
|
||||
}
|
||||
};
|
||||
|
||||
struct Vector3__Boxed {
|
||||
|
||||
Reference in New Issue
Block a user