//incoplete public void PassValue(Activity activity) { name = activity.name; animationTrigger = activity.animationTrigger; trannsitionDelay = activity.trannsitionDelay; energyPerHour = activity.energyPerHour; cost = activity.cost; limitPerDay = activity.limitPerDay; isDutrationAjustable = activity.isDutrationAjustable; duration.SetValue(activity.duration); isIncreaseStress = activity.isIncreaseStress; increasedStressModifier = activity.increasedStressModifier; isDecreaseStress = activity.isDecreaseStress; decreasedStressModifier = activity.decreasedStressModifier; isChangeOtherStat = activity.isChangeOtherStat; isEffectedByStress = activity.isEffectedByStress; changedStat = activity.changedStat; changedStatModifier = activity.changedStatModifier; interest = activity.interest; ability = activity.ability; }
public BoolContainer CheckLoginStatus() { BoolContainer loginStatus = new BoolContainer(); loginStatus.result = loginSystem.loginStatus; return(loginStatus); }
public void CheckCondition(BoolContainer condition) { if (condition.Value) { OnTrue.Invoke(); } else { OnFalse.Invoke(); } }
public override void OnInspectorGUI() { base.OnInspectorGUI(); GUI.enabled = Application.isPlaying; BoolContainer m_Target = target as BoolContainer; if (GUILayout.Button("Update Changes")) { m_Target.OnValueChanged.Invoke(m_Target); } }
public void UpdateChanges(BoolContainer container) { Animator.SetBool(parameterHash, container.Value); }
public void setEnable(BoolContainer intVariable) { isEnable = InputGroup.Value; }
public void SetFullScreen(BoolContainer isFullScreen) { Screen.fullScreen = isFullScreen.Value; }
public void RemoveInterest(BoolContainer interest) { this.interest.Remove(interest); }
public void SetInterest(BoolContainer interest) { this.interest.Add(interest); }