Пример #1
0
 //이곳에서 선을 만들어준다.
 private void Start()
 {
     MakeLine    = Resources.Load("LineManager") as GameObject;
     mousepoint  = Camera.main.GetComponent <Mousepoint>();
     mousepoint2 = GameObject.Find("CreateCameras").transform.GetChild(0).GetComponent <Mousepoint>();
     tableMgr    = GameObject.Find("CraftTable").GetComponent <CraftTable_Mgr>();
 }
Пример #2
0
 public void ReStart()
 {
     MakeLine    = Resources.Load("LineManager") as GameObject;
     mousepoint  = Camera.main.GetComponent <Mousepoint>();
     mousepoint2 = GameObject.Find("CreateCameras").transform.GetChild(0).GetComponent <Mousepoint>();
     tableMgr    = GameObject.Find("CraftTable").GetComponent <CraftTable_Mgr>();
     Debug.Log("리스" + transform.position);
 }
Пример #3
0
 public void Awake()
 {
     CraftTable_Mgr.instance = this;
 }