Does .enabled not work on Android? I'm trying something very simple and it works fine while testing it in Unity but when I try to push it to my phone for testing I get the error: 'enabled' is not a member of 'UnityEngine.Component'.
function OnTriggerEnter(other: Collider) {
gameObject.GetComponent("Testscript").enabled = true;
}