private void onGlobalMouseDown(Cross.Event e) { //MouseEvent me = e as MouseEvent; //if (os.sys.execute) //{ // GREntity3D entity = m_cam.rayCast(new Vec3(me.globalX, me.globalY, 0)); //} }
private void onMouseDown(Cross.Event e) { base.dispatchEvent(GameEvent.Createimmedi(2280u, this, null, false)); }