请问各位大神,在unity里面 android平台 该使用哪些so文件?
7 x5 ]6 i: y0 s* C1 C& u
' F1 g- a9 K3 u目前我在unity ,pc平台是用的dll文件为:HPSocket.Net.dl和HPSocket4C.dll 2个dll,代码为:
S' a, ^( ` z6 {4 `5 o- F4 d
- R- E- z, a, ` public TcpPACKClient client = null;" U! q& e& b/ C+ [
% i2 l i3 G0 w: L: B: X% ~6 o" ?
public void StartConn(string ip= "127.0.0.1", int port= 6636)
. s3 g* Y6 y" G% j7 t1 u7 K9 } {1 X w, _- l1 j3 [" Q( j! \
Debug.Log("StartConn Start");, M) [8 V& |2 R! \( g" l( A
client = new TcpPackClient();
" m$ W. G; E0 }3 \5 Q client.OnConnect += this.OnConnect;
( _3 Y$ c+ ^# M. p% a client.OnReceive += this.OnReceive;4 G* E- d2 o8 ~8 P6 F S
client.OnClose += this.OnClose;% L/ d$ a O# M, j
client.OnSend += this.OnSend;' W9 t* C% y+ i3 a
client.Connect(ip,6636);& g* D( f) _% t& A: c
Debug.Log("StartConn over");
: F8 i* w, y( ?7 A }
; r/ I$ y7 ]2 i
/ F6 d" j8 B2 w现在在pc平台是可以正常运行的。但是打包到android平台就有问题,提示找不到dll. 所以想请教各位大神在unity android 平台 要引用哪些文件。谢谢。。!
% L. b, ^1 |) g, j |