Quantcast
Channel: iOS and tvOS
Viewing all articles
Browse latest Browse all 10823

Simple game does not work in IOS Simulator

$
0
0
Hello there. I'm new to IOS and just tried to make the simplest game just for test it on IOS Simulator.
Here is the all code
Code (csharp):
  1.  
  2. using UnityEngine;
  3. using System.Collections;
  4.  
  5. public class Controller : MonoBehaviour {
  6.  
  7.     private Rigidbody2D rb;
  8.  
  9.     // Use this for initialization
  10.     void Start () {
  11.         rb = transform.GetComponent<Rigidbody2D>();
  12.     }
  13.    
  14.     // Update is called once per frame
  15.     void Update () {
  16.         if(Input.GetMouseButton(0) || Input.touchCount > 0)
  17.         {...
Simple game does not work in IOS Simulator

Viewing all articles
Browse latest Browse all 10823


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>