Parameters fetch fix

Restore to default settings
This commit is contained in:
SDraw 2022-08-06 02:03:10 +03:00
parent 8e6f739589
commit ee55c60ed5
No known key found for this signature in database
GPG key ID: BB95B4DAB2BB8BB5
4 changed files with 16 additions and 4 deletions

View file

@ -46,6 +46,12 @@ namespace ml_aap
m_parameters = new List<AdditionalParameterInfo>();
}
void Start()
{
if(PlayerSetup.Instance._inVr)
PlayerSetup.Instance.avatarSetupCompleted.AddListener(this.OnAvatarSetup);
}
void Update()
{
if(m_active)