void Awake() { on2 = new bool[5] { true, true, true, true, true }; on20 = new bool[5] { true, true, true, true, true }; on21 = new bool[5] { true, true, true, true, true }; recs2 = RegionSpliter.SplitRegionH(new Rect(0, 0, Screen.width, 80), 5, 5f); }
void Awake() { on1 = new bool[6] { true, true, true, true, true, true }; on2 = new bool[4] { true, true, true, true }; on20 = new bool[4] { true, true, true, true }; on21 = new bool[4] { true, true, true, true }; recs1 = RegionSpliter.SplitRegionH(new Rect(0, 0, Screen.width, 80), 2, 5f); recs2 = RegionSpliter.SplitRegionH(new Rect(0, 90, Screen.width, 80), 4, 5f); }