public override void Update() { if (flag) { R1.SetActive(true); R2.SetActive(false); } else { R1.SetActive(false); R2.SetActive(true); } flag = !flag; }
public override void Update() { if (flag) { R1.SetActive(true); R2.SetActive(false); } else { R1.SetActive(false); R2.SetActive(true); } flag = !flag; }