//CharaUpdate static private EventTextProcess CharaUpdateUpdate(EventTextProcessState mine, EventText eventText) { if (eventText.GetTimeCounter().measure(Time.deltaTime, eventText.GetTimeRegulation())) { //文章の処理 eventText.GetText().text = t13.Utility.ContextUpdate( eventText.GetUpdateContext(), eventText.GetTimeRegulation(), eventText.GetTimeRegulation() ); return(EventTextProcess.None); } else { //文章の処理 eventText.GetText().text = t13.Utility.ContextUpdate( eventText.GetUpdateContext(), eventText.GetTimeCounter().count(), eventText.GetTimeRegulation() ); } return(mine.state_); }
//ChangeColor static private EventTextProcess ChangeColorUpdate(EventTextProcessState mine, EventText eventText) { if (eventText.GetTimeCounter().measure(Time.deltaTime, eventText.GetTimeRegulation())) { eventText.GetText().color = t13.UnityUtil.Color32InFluctUpdateRed( eventText.GetText().color , eventText.GetTimeFlucts(0) , eventText.GetChangeEndColor().r , eventText.GetTimeRegulation() , eventText.GetTimeRegulation() ); eventText.GetText().color = t13.UnityUtil.Color32InFluctUpdateGreen( eventText.GetText().color , eventText.GetTimeFlucts(1) , eventText.GetChangeEndColor().g , eventText.GetTimeRegulation() , eventText.GetTimeRegulation() ); eventText.GetText().color = t13.UnityUtil.Color32InFluctUpdateBlue( eventText.GetText().color , eventText.GetTimeFlucts(2) , eventText.GetChangeEndColor().b , eventText.GetTimeRegulation() , eventText.GetTimeRegulation() ); eventText.GetText().color = t13.UnityUtil.Color32InFluctUpdateAlpha( eventText.GetText().color , eventText.GetTimeFlucts(3) , eventText.GetChangeEndColor().a , eventText.GetTimeRegulation() , eventText.GetTimeRegulation() ); return(EventTextProcess.None); } else { eventText.GetText().color = t13.UnityUtil.Color32InFluctUpdateRed( eventText.GetText().color , eventText.GetTimeFlucts(0) , eventText.GetChangeEndColor().r , eventText.GetTimeCounter().count() , eventText.GetTimeRegulation() ); eventText.GetText().color = t13.UnityUtil.Color32InFluctUpdateGreen( eventText.GetText().color , eventText.GetTimeFlucts(1) , eventText.GetChangeEndColor().g , eventText.GetTimeCounter().count() , eventText.GetTimeRegulation() ); eventText.GetText().color = t13.UnityUtil.Color32InFluctUpdateBlue( eventText.GetText().color , eventText.GetTimeFlucts(2) , eventText.GetChangeEndColor().b , eventText.GetTimeCounter().count() , eventText.GetTimeRegulation() ); eventText.GetText().color = t13.UnityUtil.Color32InFluctUpdateAlpha( eventText.GetText().color , eventText.GetTimeFlucts(3) , eventText.GetChangeEndColor().a , eventText.GetTimeCounter().count() , eventText.GetTimeRegulation() ); } return(mine.state_); }