//이곳에서 선을 만들어준다. 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>(); }
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); }
public void Awake() { CraftTable_Mgr.instance = this; }