示例#1
0
文件: Addon.cs 项目: tony48/ksp-kipc
        public override void OnAwake()
        {
            bool dummy;

            base.OnAwake();
            Debug.Log(string.Format("[KIPCPlugin] {0} PersistentState OnAwake()", idgen.GetId(this, out dummy)));
        }
示例#2
0
        private static long MessageId(object message)
        {
            bool firstTime = false;

            return(gen.GetId(message, out firstTime));
        }