Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Gene : MonoBehaviour {
- string[] names = {"W", "w"};
- public string Gene_1;
- public string Gene_2;
- // Use this for initialization
- void Start () {
- Gene_1 = names [Random.Range (0, names.Length)];
- Gene_2 = names [Random.Range (0, names.Length)];
- Debug.Log ("Gene 1 = " + Gene_1 + " and Gene 2 = " + Gene_2);
- }
- // Update is called once per frame
- void Update () {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement