Mercurial > hg > Database > jungle-sharp
diff src/main/csharp/jp.ac.u-ryukyu.ie.cr/jungle/persistent/SingletonMessage.cs @ 9:e6ad9016601c
Add Msgpack for Unity.
author | Kazuma |
---|---|
date | Sun, 23 Oct 2016 04:37:16 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main/csharp/jp.ac.u-ryukyu.ie.cr/jungle/persistent/SingletonMessage.cs Sun Oct 23 04:37:16 2016 +0900 @@ -0,0 +1,9 @@ +using UnityEngine; +using System.Collections; + +public class SingletonMessage : MonoBehaviour { + + public static MsgPack.ObjectPacker getInstance () { + return new MsgPack.ObjectPacker(); + } +}