void Start() { invokeObject = GameObject.Find("ContentObject"); cursor = GameObject.Find("targetCursor"); cursortmp = GameObject.FindGameObjectWithTag("cursortmp"); changeIcon = GameObject.Find("icons").GetComponent <IconSelectTable>(); setIcon(); defaultIcons(); }
void Start() { cameraOrigin = GameObject.Find("CameraOrigin"); cursorVisible = GameObject.Find("changeIcon"); cursorSetIcon = GameObject.Find("targetCursor").GetComponent <CursorPosition>(); changeIcon = GameObject.Find("icons").GetComponent <IconSelectTable>(); iconVisblty(); }