コード例 #1
0
    private void Started()
    {
        m_setup = GameObject.Find("[Sys_Core]") ?? new GameObject("[Sys_Core]");
        if (m_setup.GetComponent <CoreTools>() == null)
        {
            m_setup.AddComponent <CoreTools>();
        }

        foreach (var managerBase in managers)
        {
            CoreTools.Add(managerBase);
        }
    }