本文整理汇总了C#中Connector.setRecvLogger方法的典型用法代码示例。如果您正苦于以下问题:C# Connector.setRecvLogger方法的具体用法?C# Connector.setRecvLogger怎么用?C# Connector.setRecvLogger使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Connector
的用法示例。
在下文中一共展示了Connector.setRecvLogger方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Start
// Use this for initialization
void Start()
{
Debug.Log ("testing");
connector = new Connector();
queue = new Queue ();
IPAddress ipAddress = IPAddress.Parse ("172.16.236.105");
IPEndPoint endpoint = new IPEndPoint (ipAddress, 6070);
string result = connector.fnConnectResult (endpoint);
Debug.Log (result);
connector.setOnActionListener (this);
connector.setRecvLogger (this);
// GameObject cube = GameObject.CreatePrimitive (PrimitiveType.Cube);
// cube.transform.parent = imageTarget.transform;
// cube.transform.position = player.transform.position + new Vector3(1, 0, 0) * 100f;
// cube.transform.localScale = new Vector3 (0.108f, 0.108f, 0.108f);
//
Debug.Log ("Local scale:" + reference.transform.localScale[0]);
Anim anim1 = new Anim ();
anim1.from_x = 0;
anim1.from_y = 0;
anim1.from_z = 0;
anim1.to_x = 0;
anim1.to_y = 0;
anim1.to_z = 3;
Anim anim2 = new Anim ();
anim2.from_x = 0;
anim2.from_y = 0;
anim2.from_z = 2;
anim2.to_x = 0;
anim2.to_y = 0;
anim2.to_z = 3;
animList = new Anim[2] {anim1, anim2};
}