internal void DeleteTest(EditTestEntry entry) { var name = entry.m_name.text; TestReader.DeleteTest(name); m_entries.Remove(entry); Destroy(entry.gameObject); }
public void AddTest(TestInfo testInfo) { EditTestEntry testEntry = Instantiate(m_editTestEntry, m_testArea); testEntry.SetTest(testInfo); testEntry.SetTestCreatorPanel(this); m_entries.Add(testEntry); }
internal void EditTest(EditTestEntry entry) { var name = entry.m_name.text; if (m_editTestPanel) { m_editTestPanel.SetTestName(name); m_editTestPanel.gameObject.SetActive(true); gameObject.SetActive(false); } }