private void OnEnable() { PortesArmariData portesArmari = SavePortesArmariJson.Load(); index = portesArmari.index; if (index == 1) { timeline.PlayFromTimelines(index); } }
private void OnDisable() { SavePortesArmariJson.Save(this); }