示例#1
0
        public ContactListener()
        {
            functions = new cb2contactlistener();
            functions.BeginContact = BeginContactInternal;
            functions.EndContact = EndContactInternal;
            functions.PreSolve = PreSolveInternal;
            functions.PostSolve = PostSolveInternal;

            _listener = NativeMethods.cb2contactlistener_create(functions);
        }
示例#2
0
        public ContactListener()
        {
            functions = new cb2contactlistener();
            functions.BeginContact = BeginContactInternal;
            functions.EndContact   = EndContactInternal;
            functions.PreSolve     = PreSolveInternal;
            functions.PostSolve    = PostSolveInternal;

            _listener = NativeMethods.cb2contactlistener_create(functions);
        }
示例#3
0
 public static extern IntPtr cb2contactlistener_create(cb2contactlistener functions);
示例#4
0
 public static extern IntPtr cb2contactlistener_create(cb2contactlistener functions);