// Use this for initialization void Start() { //TwitterShareButton = GameObject.Find("TwitterShareButton").GetComponent<Button>(); easyTweenPostTwitPopUp = GameObject.Find("PopUpButtonAnim").GetComponent <EasyTween>(); easyTweenTwitterAuthPopUp = GameObject.Find("TwitterAuthAnim").GetComponent <EasyTween>(); pinNumber = GameObject.Find("PinNumber").GetComponent <Text>(); moiTwitter = GameObject.Find("TwitterObj").GetComponent <MOITwitter>(); }
// Use this for initialization void Start() { //Screen.SetResolution(Screen.width* 16 / 9, Screen.width , false); //Screen.SetResolution(960, 720, false); //Screen.SetResolution(1152, 648, false); DI = GameObject.Find("DataObj").GetComponent <DataIni>(); mon = GameObject.Find("GameObj").GetComponent <Monster>(); dAJ = GameObject.Find("DataObj").GetComponent <DataArrayJson>(); moiTwitter = GameObject.Find("TwitterObj").GetComponent <MOITwitter>(); easyTweenMadeSlotPopUp = GameObject.Find("PopUpButtonAnim").GetComponent <EasyTween>(); easyTweenLevelUpInfoPopUp = GameObject.Find("LevelUpInfoAnim").GetComponent <EasyTween>(); easyTweenUnitMakeHintInfoPopUp = GameObject.Find("UnitMakeHintInfoAnim").GetComponent <EasyTween>(); madeSlotViewPort = GameObject.Find("MadeSlotViewPort"); madeSlotScrollbarVertical = GameObject.Find("MadeSlotScrollbarVertical").GetComponent <Scrollbar>(); madeSlotScrollbarVerticalValue = madeSlotScrollbarVertical.value; checkExp(); charDearDegree = new int[mon.charcount]; charCardRank = new int[mon.charcount]; unitDebutHistory = new bool[mon.unitcount]; ReadInIData(); maxSkillPoint = level * 10 + 100; skillPoint = 0; skillOnCheck = new bool[5]; WriteGameData(); CheckMadeSlotCount(); CheckCharDegreeList(); PutCardInSlotAtFirst(); AvailableChar(); AvailableCharNow(level); levelUpCheck = false; secondcheck = true; SlotCardMaKe(); }