void OnDisable() { IKBody body = SearchIKBody(); if (body != null) { body.Rebuild(); } }
void OnDestroy() { IKBody body = SearchIKBody(); if (body != null) { body.Rebuild(); } }
void Awake() { UpdateState(); IKBody body = SearchIKBody(); if (body != null) { body.Rebuild(); } }