void OnEnable() { // tp.Test(); test = (IDamage)tp.GetComponent(typeof(IDamage)); test.Damaged(1); test = (IDamage)tc.GetComponent(typeof(IDamage)); test.Damaged(1); }
void OnEnable() { // tp.Test(); test = (IDamage)tp.GetComponent(typeof(IDamage)); test.Damaged(1); test = (IDamage)tc.GetComponent(typeof(IDamage)); test.Damaged(1); }