Hello. How can I have it so that Script A (which is attached to object B) activates script C (which is attached to object D)? Thanks.
in Script A write:
gameObject.Find("Object D").GetComponent("Script C").enabled = true;
Hello. How can I have it so that Script A (which is attached to object B) activates script C (which is attached to object D)? Thanks.
in Script A write:
gameObject.Find("Object D").GetComponent("Script C").enabled = true;