热门 DoTween Demo

时间:2016-10-5   作者:StanWind   分类: Unity   热度:3616°    
时间:2016-10-5   分类: Unity    热度:3616  
using UnityEngine;
using System.Collections;
using DG.Tweening;
using UnityEngine.UI;

public class TestDoTween : MonoBehaviour {

    int number = 0;
    // Use this for initialization
   ...

热门 Unity移动方式总结

时间:2016-10-5   作者:StanWind   分类: Unity   热度:2948°    
时间:2016-10-5   分类: Unity    热度:2948  

1. 简介

    在Unity3D中,有多种方式可以改变物体的坐标,实现移动的目的,其本质是每帧修改物体的position。

2. 通过Transform组件移动物体

    Transform 组件用于描述物体在空间中的状态,它包括 位置(position), 旋转(rotation)和 缩放(scale)。 其实所有的移动都会导致position的...

热门 IOCP模型Demo

时间:2016-9-29   作者:StanWind   分类: 后端开发   热度:3577°    
时间:2016-9-29   分类: 后端开发    热度:3577  
#include <winsock2.h>
#include <stdio.h>
#include <process.h>
#include <time.h>
#pragma comment(lib,"ws2_32")

#define DEFAULT_BUFLEN 1024

typedef struct
{
    OVERLA...

热门 Netty5例子

时间:2016-9-24   作者:StanWind   分类: 后端开发   热度:2901°    
时间:2016-9-24   分类: 后端开发    热度:2901  

//服务类

ServerBootstrap bootstrap = new ServerBootstrap();


//Boss  Work

NioEventLoopGroup boss = new NioEventLoopGroup();

NioEventLoopGroup work = new NioEventLoopGroup();

tr...

热门 redis utils写法

时间:2016-9-24   作者:StanWind   分类: 后端开发   热度:3336°    
时间:2016-9-24   分类: 后端开发    热度:3336  

package pw.goyd.db;



import pw.goyd.game.constant.setting.ServerSetting;

import pw.goyd.game.server.ServerLog;

import pw.goyd.subscribe.Publisher;

import redis.clients.jedis.Jedis;

import redis.cl...

热门 传统jdbc写法

时间:2016-9-24   作者:StanWind   分类: 后端开发   热度:2939°    
时间:2016-9-24   分类: 后端开发    热度:2939  

package pw.goyd.db;


import java.sql.Connection;

import java.sql.DriverManager;

import java.sql.ResultSet;

import java.sql.SQLException;

import java.sql.Statement;


import pw.goyd.game.constant.se...

返回顶部    首页    手机版本    后花园  
版权所有:Make it Better    站长: StanWind    赣ICP备17014296号