using UnityEngine;
using System.Collections;
public class NewBehaviourScript1 : MonoBehaviour {
float sx;
float sy;
// Use this for initialization
void Start () {
sx = Random.Range (0, 2) == 0 ? -1 : 1;
sy = Random.Range (0, 2) == 0 ? -1 : 1;
rigidbody.velocity = new Vector3 (5, 10) = sx, Random.Range (5, 10) = sy, 0);
}
// Update is called once per frame
void Update () {
}
}