private void SetActive() { Gen.SetActive(true); Laurence.SetActive(true); Wen.SetActive(true); Wally.SetActive(true); Yu.SetActive(true); QuestionMark.SetActive(true); ExclamationMark.SetActive(true); LaurenceMark.SetActive(true); TBoundary.SetActive(true); TColor.SetActive(true); S1Boundary.SetActive(true); S1Color.SetActive(true); S2Boundary.SetActive(true); S2Color.SetActive(true); }
private void DoFadingOut() { float duration = 1.5f; Wally.GetComponent <Image>().CrossFadeAlpha(0, duration, false); Gen.GetComponent <Image>().CrossFadeAlpha(0, duration, false); Laurence.GetComponent <Image>().CrossFadeAlpha(0, duration, false); Yu.GetComponent <Image>().CrossFadeAlpha(0, duration, false); Wen.GetComponent <Image>().CrossFadeAlpha(0, duration, false); QuestionMark.GetComponent <Image>().CrossFadeAlpha(0, duration, false); ExclamationMark.GetComponent <Image>().CrossFadeAlpha(0, duration, false); LaurenceMark.GetComponent <Image>().CrossFadeAlpha(0, duration, false); TBoundary.GetComponent <Image>().CrossFadeAlpha(0, duration, false); TColor.GetComponent <Image>().CrossFadeAlpha(0, duration, false); S1Boundary.GetComponent <Image>().CrossFadeAlpha(0, duration, false); S1Color.GetComponent <Image>().CrossFadeAlpha(0, duration, false); S2Boundary.GetComponent <Image>().CrossFadeAlpha(0, duration, false); S2Color.GetComponent <Image>().CrossFadeAlpha(0, duration, false); Destroy(); }
public InternalTask(TBoundary boundary) { Boundary = boundary; IsCompleted = false; }