I have created a game with the p.c. platform. My game is running flawlessly, but when I switch my platform to Android it get lot of errors…
‘GetComponent’ is not a member of ‘Object’.
for (var checkDoor : GameObject in cells*.GetComponent(AIpathCellScript).doors)*
‘height’ is not a member of ‘UnityEngine.Collider’.
transform.position.y = playerCapsuleTransform.position.y + ((playerCapsuleTransform.GetComponent(Collider).height * playerCapsuleTransform.localScale.y) / 2) + (transform.localScale.y / 2) + floatAbove;
Operator ‘<’ cannot be used with a left hand side of type ‘Object’ and a right hand side of type ‘float’.
if (doorCheckingNow.GetComponent(AIpathDoorScript).doorsToCells < shortestPathSoFar)
HELP ME…!!! xd