clean project

This commit is contained in:
Helar Jaadla
2022-03-07 17:52:41 +02:00
parent a174b45bd2
commit cbeb10ec35
5100 changed files with 837159 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
using Oculus.Avatar;
public class OvrAvatarBase : OvrAvatarComponent
{
ovrAvatarBaseComponent component = new ovrAvatarBaseComponent();
void Update()
{
if (owner == null)
{
return;
}
if (CAPI.ovrAvatarPose_GetBaseComponent(owner.sdkAvatar, ref component))
{
UpdateAvatar(component.renderComponent);
}
else
{
owner.Base = null;
Destroy(this);
}
}
}