I am new to Unity after going through the Lerpz tutorial, I attempted to build the tutorial using the Android platform.
When I build using the Android platform, I receive several errors similar to this example:
BCE0019: enabled is not a member of UnityEngine.Component.
Below is the code that the error is located:
function HidePlayer()
{
GameObject.Find("rootJoint").GetComponent(SkinnedMeshRenderer).enabled = false; // stop rendering the player.
isControllable = false; // disable player controls.
}
Any advice would be welcomed in gaining a better understanding.