/// <summary> /// Stop the tweening process. /// </summary> static public SpringPanel Stop(GameObject go) { SpringPanel sp = go.GetComponent <SpringPanel>(); if (sp != null && sp.enabled) { if (sp.onFinished != null) { sp.onFinished(); } sp.enabled = false; } return(sp); }
// Token: 0x060004BC RID: 1212 RVA: 0x0002CF48 File Offset: 0x0002B148 public static SpringPanel Stop(GameObject go) { SpringPanel component = go.GetComponent <SpringPanel>(); if (component != null && component.enabled) { if (component.onFinished != null) { component.onFinished(); } component.enabled = false; } return(component); }