//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_); }
public void ElementReflect(ElementTypeState elementTypeState) { //タイプの反映 elementInfoEventSprite_.GetSpriteRenderer().color = elementTypeState.GetColor(); //もしタイプがNoneだったら if (elementTypeState.state_ == ElementType.None) { //透明にする elementInfoEventText_.GetText().color = new Color32(0, 0, 0, 0); } else { //表示する elementInfoEventText_.GetText().color = new Color32(241, 241, 241, 255); } //名前の反映 elementInfoEventText_.GetText().text = elementTypeState.GetName(); }
public Text GetNovelWindowText() { return(novelWindowEventText.GetText()); }
//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_); }