// Update is called once per frame void Update() { if (InputManager_JHW.XButtonDown()) { Draw_Rtouch.myType(); Color = HandColor[LineDraw.curType]; for (int i = 0; i < MpMaterial.Length; ++i) { MpMaterial[i].SetColor("_EmissionColor", Color); } ChangeParticle.SetActive(true); StartCoroutine(ChangeObject()); } }