コード例 #1
0
 void InitOverlays()
 {
     LeftPanel = InstantiateChild <LMS_GuiBaseBox2D>(new LMS_GuiConfig()
     {
         Rect = new Rect(8f, 41f, 486f, 587f)
     }, 100000);
     LeftPanel.SetTexture((int)E_Texture.IDLE, LMS_GuiBaseUtils.NextGrade(m_Skin.box.normal.background));
     RightPanel = InstantiateChild <LMS_GuiBaseBox2D>(new LMS_GuiConfig()
     {
         Rect = new Rect(197f, 41f, 705f, 587f)
     }, 100000);
     RightPanel.SetTexture((int)E_Texture.IDLE, LMS_GuiBaseUtils.NextGrade(m_Skin.box.normal.background));
 }