void Start() { //oldObject = objClient; mpUI = GameObject.FindGameObjectWithTag("SceneManager").GetComponent <MultiplyUi>(); InitSocket(); }
// Start is called before the first frame update void Start() { mpUI = GameObject.FindGameObjectWithTag("SceneManager").GetComponent <MultiplyUi>(); tCP = GameObject.Find("NetworkTransfer").GetComponent <TCPClientReceive>(); }
public void Start() { plantName = transform.parent.GetComponent <ImageTargetBehaviour>().TrackableName; mpUI = GameObject.FindGameObjectWithTag("SceneManager").GetComponent <MultiplyUi>(); tCP = GameObject.Find("NetworkTransfer").GetComponent <TCPClientReceive>(); }