void Start() { game = GameObject.Find ("Jupong_Player").GetComponent<GameJupong> (); Input.gyro.enabled = true; Screen.sleepTimeout = SleepTimeout.NeverSleep; Network.sendRate = 25; }
void Start() { game = GameObject.Find ("Jupong_Player").GetComponent<GameJupong> (); _rb = GetComponent<Rigidbody2D> (); Input.gyro.enabled = true; Screen.sleepTimeout = SleepTimeout.NeverSleep; }