Beispiel #1
0
    private void Start()
    {
        m_templates = new List <Canvas>();
        m_templates.Add(m_temaplate_base);

        HierarchyUtility.TraverseComponent <Canvas>(
            m_add_from_unitypackage.transform,

            i => {
            var s = i.ToString();
            Debug.Log(s);
            m_templates.Add(i);
        }
            );

        m_sm = new UITest01Control();
    }
Beispiel #2
0
 private void Start()
 {
     m_sm = new UITest01Control();
 }