Bring in AAC!

project ive been working on for a while, just felt confident enough to move it here
This commit is contained in:
Lillith Rose 2025-12-09 21:40:28 -05:00
parent e608e2a56b
commit 1d7052a258
209 changed files with 1561 additions and 74738 deletions

View file

@ -0,0 +1,35 @@
using System;
using UnityEngine;
using VRC.SDKBase;
namespace gay.lilyy.aacshared.runtimecomponents
{
public class FloaterDefinition: MonoBehaviour, IEditorOnly {
// unity needs this to show the enable/disable box
void Start(){}
public float floatHeight = 0;
[Tooltip("Time in seconds for one full spin cycle")]
public float loopInSeconds = 10f;
[Tooltip("Number of times object spins in one loop")]
public int spinCycles = 2;
[Tooltip("Axis to spin around (x, y, or z)")]
public string spinAxis = "z";
public bool enableOnPC = true;
[Tooltip("Quest, Pico, Android/iOS Mobile, etc.")]
public bool enableOnMobile = true;
[Tooltip("If set, this parameter will toggle the floater on/off")]
public string toggleParamName = "";
/** <summary>
Compares two FloaterDefinitions for equality based on their properties.
Used for chunking similar floaters into one animation layer
</summary> */
public override int GetHashCode()
{
return HashCode.Combine(floatHeight, loopInSeconds, spinCycles, enableOnPC, enableOnMobile, toggleParamName);
}
}
}