关闭

[置顶] 最后一战源码分析_所有文章的目录

最近在学unity3d,然后准备研究研究别人的项目源码,最后在网上找到了一份“最后一战”源码,决定研究此项目项目。 当然肯定要分很多文章来写才行,所以这篇文章作为所有文章的索引吧! 慢慢写文章,然后把索引添加进来!接下来是项目资源,在某宝买的,在这里分享给大家。 链接: https://pan.baidu.com/s/1pLTxQQZ 密码: 9jf4 如果失效了就在下面回复,我会看到然后更新链接。...
阅读(92) 评论(0)

NewStart(三)—— LoginWindow

登陆窗口类using UnityEngine; using System.Collections; using System.Collections.Generic;//登陆窗口 public class LoginWindow: BaseWindow { public enum LOGINUI { None = -1, Login,...
阅读(19) 评论(0)

NewStart(二)—— LoadUIResource

LoadUIResource.cs 加载UI资源类using UnityEngine; using System; using System.Collections; using System.Collections.Generic;//加载UI资源类 public class LoadUIResource { public static Dictionary<string, GameOb...
阅读(32) 评论(0)

NewStart(一)—— BaseWindow

BaseWindow.cs 所有window类的基类using UnityEngine; using System.Collections; using System.Collections.Generic;//所有window的基类 public abstract class BaseWindow { protected Transform mRoot; protected ESc...
阅读(26) 评论(0)

GameEntity(十一)—— Iplayer

目录为:Assets/Scripts/GameEntity/目录下 Iplayer.csplayer接口using UnityEngine; using System.Collections; using System.Collections.Generic; using System;//继承Ientity public class Iplayer: Ientity { //吸附特效...
阅读(17) 评论(0)

GameEntity(十)—— Mail

目录为:Assets/Scripts/GameEntity/目录下 Mail.csusing System; using System.Collections.Generic;//邮件状态 public enum EMailCurtState { eMailState_None = 0, eMailState_New = 1, eMailState_LookedButNot...
阅读(56) 评论(0)

GameEntity(九)—— InviteOtherPlayer

目录为:Assets/Scripts/GameEntity/目录下 InviteOtherPlayer.cs邀请好友类using UnityEngine; using System.Collections; using System; using System.Collections.Generic;//邀请好友 public class InviteOtherPlayer { //sta...
阅读(18) 评论(0)

GameEntity(八)—— FriendManager

目录为:Assets/Scripts/GameEntity/目录下 FriendManager.cs好友管理类using UnityEngine; using System.Collections; using System.Collections.Generic; using System;//好友管理类 public class FriendManager { //static...
阅读(21) 评论(0)

GameEntity(七)—— Friend

目录为:Assets/Scripts/GameEntity/目录下 Friend.cs看来是好友类using System; using System.Collections.Generic;//好友 public class Friend { public UInt64 SGUID { private set; get; } //是否...
阅读(20) 评论(0)

GameEntity(六)—— IChat

目录为:Assets/Scripts/GameEntity/目录下 IChat.cs聊天的接口类using UnityEngine; using System.Collections; using System.Collections.Generic; using System;//看来是聊天相关的接口 public class IChat { public UInt64 SGUID...
阅读(35) 评论(0)

GameEntity(五)—— INpc

目录为:Assets/Scripts/GameEntity/目录下 INpc.cs这是Npc的接口类using UnityEngine; using System.Collections; using System;//Npc的接口 public class INpc: Ientity { //调用Ientity的构造函数 public INpc(UInt64 sGUID, Ent...
阅读(26) 评论(0)

Unity中写GLSL(一)—— 简单的diffuse color

写这篇文章主要是为了记录一下需要用到的Unity提供的变量等等。 参考了WiKi:GLSL Programming/Unity/Diffuse Reflection注意要给Unity添加启动项才行,像这样 强制使用opengl,这样才能测试shader下面是shader代码,Wiki上的不好用了,改了一下的Shader "GLSL per-vertex diffuse lighting" {...
阅读(16) 评论(0)

GameEntity(四)—— Ientity

目录为:Assets/Scripts/GameEntity/目录下 Ientity.cs这是Entity的接口using System; using System.Collections; using System.Collections.Generic; using UnityEngine;//最主要的游戏实体 //整个Entity的接口 public class Ientity { /...
阅读(77) 评论(0)

GameEntity(三)—— EntityStrategyHelper

目录为:Assets/Scripts/GameEntity/目录下 EntityStrategyHelper.csusing UnityEngine; using System.Collections;public static class EntityStrategyHelper { public const float MoveCheckBlockTick = 1.0f; pu...
阅读(23) 评论(0)

GameEntity(二)—— EntityType

目录为:Assets/Scripts/GameEntity/目录下 EntityType.csusing UnityEngine; using System.Collections;public enum EntityType { Monster = 1, Soldier, Buiding, Player, AltarSoldier }public enum...
阅读(58) 评论(0)

GameEntity(一) —— CampType

目录为:Assets/Scripts/GameEntity/目录下 CampType.cs这次先从Entity入手,好多地方都涉及到这一部分。using UnityEngine; using System.Collections;public enum EntityCampType { CampTypeNull = -2, CampTypeBad, //全敌对 Cam...
阅读(53) 评论(0)

Effect(二十二)—— SM_UVScroller

目录为:Assets/Media/Effect/Scripts/目录下 SM_UVScroller.csusing UnityEngine; using System.Collections;//UV滚动 public class SM_UVScroller: MonoBehaviour { public int targetMaterialSlot = 0; public Mat...
阅读(65) 评论(0)

Effect(二十一)—— SM_TransRimShaderIrisator

目录为:Assets/Media/Effect/Script/目录下 SM_TransRimShaderIrisator.csusing UnityEngine; using System.Collections;public class SM_TransRimShaderIrisator: MonoBehaviour { public float topStr = 2.0f; p...
阅读(59) 评论(0)

Effect(二十)—— SM_TransRimShaderFader

目录为:Assets/Media/Effect/Script/目录下 SM_TransRimShaderFader.cs没找到在哪用。using UnityEngine; using System.Collections;public class SM_TransRimShaderFader: MonoBehaviour { public float startStr = 2.0f;...
阅读(41) 评论(0)

Effect(十九)—— SM_TrailFade

目录为:Assets/Media/Effect/Script/目录下 SM_TrailFade.csusing UnityEngine; using System.Collections;public class SM_TrailFade: MonoBehaviour { public float fadeInTime = 0.1f; public float stayTime =...
阅读(47) 评论(0)

Effect(十八)—— SM_RotateThis

目录为:Assets/Media/Effect/Script/目录下 SM_RotateThis.csusing UnityEngine; using System.Collections;//rotate public class SM_rotateThis: MonoBehaviour { public float rotationSpeedX = 90; public flo...
阅读(42) 评论(0)
133条 共7页1 2 3 4 5 ... 下一页 尾页
    个人资料
    • 访问:5689次
    • 积分:1336
    • 等级:
    • 排名:千里之外
    • 原创:133篇
    • 转载:0篇
    • 译文:0篇
    • 评论:0条
    文章分类