Pose mode preparation.

Pose serialization, deserialization (no face)
UI handle system
This commit is contained in:
Katboi01
2023-12-14 01:42:30 +01:00
parent 28549bd653
commit f928a802d7
102 changed files with 8678 additions and 45 deletions
@@ -0,0 +1,35 @@
using System;
using UnityEngine;
namespace RuntimeGizmos
{
public struct Square
{
public Vector3 bottomLeft;
public Vector3 bottomRight;
public Vector3 topLeft;
public Vector3 topRight;
public Vector3 this[int index]
{
get
{
switch (index)
{
case 0:
return this.bottomLeft;
case 1:
return this.topLeft;
case 2:
return this.topRight;
case 3:
return this.bottomRight;
case 4:
return this.bottomLeft; //so we wrap around back to start
default:
return Vector3.zero;
}
}
}
}
}