Computer Language/유니티

: 을 이용 출력 순서가 바뀌어도 상관이 없다.

알 수 없는 사용자 2014. 4. 22. 14:31

using UnityEngine;

using System.Collections;


public class Ex6_8 : MonoBehaviour {

void PrintProfile(string name, string phone){

print ("Name=" + name + "Phone" + phone);

}

// Use this for initialization

void Start () {

PrintProfile(name:"Park", phone:"012-111-0000");

   PrintProfile(phone:"012-1431-0000", name:"Steven");


}

// Update is called once per frame

void Update () {

}

}