public static void OnEnable() { m_level = GameObject.FindObjectOfType <Level>(); if (m_level != null) { m_level.Start(); } m_layout = new LevelLayout(); m_layout.Init(100, 100); }