In the ThirdPersonCharacter folder you'll find two ready-made character prefabs, which are used in the ThirdPersonCharacter sample scenes. These prefabs demonstrate how you can use the ThirdPersonCharacters scripts and animations we've included, including an AI-controlled variant which is able to walk towards a specified target, or follow a waypoint-based route.
The simplest way to get started setting up your own character is to take our ThirdPersonCharacter and replace the art with your own model. To do so, make sure you've imported your own rigged model with a Humanoid avatar, then follow these steps:
1) Start with a suitable scene. There ought to be enough flat ground to walk around on.
2) Place the "ThirdPersonCharacter" prefab in the scene.
3) Unfold the ThirdPersonCharacter hierarchy in the hierarchy window, and delete all child of "ThirdPersonController".
4) Place your own character model as a child of the ThirdPersonCharacter.
5) Drop the Avatar of your model (created by model importer, cf documentation) inside the Avatar slot of the Animator component on "ThirdPersonController"
6) Make sure your character model's position in the inspector is set to zero on X and Z, and that it's Y position is appropriately adjusted so that your character's feet are at the same position as the ThirdPersonCharacter GameObject. (if you find it easier, you could add your character first before deleting Ethan, so that you can use Ethan's feet as a guide for where your character's feet should be)
7) Hit play, and try controlling your character!
You'll probably want to add a camera rig so that the camera follows the character as it runs off. See the Camera Rig guidelines for instructions on how to do that.
The ThirdPersonCharacter script exposes a number of properties which determine the jump power, the amount of control while in air, and various other speed and behaviour modifiers. For more detail about each setting, see the comments in the script.
The ThirdPersonUserControl script takes input from the "CrossPlatformInput" class included in the sample assets, however if you're not targeting mobile or prefer to use a different system to read input, you can simply use Unity's built-in Input class in place of CrossPlatformInput. For more information, see the CrossPlatformInput guidelines.
The sample scenes provided works on standalone and also include cross platform touch controls which are set up and ready to publish to mobile.
The ThirdPersonAIControl component can be added instead of the user control component, allowing the character to be AI controlled. This relies on a NavMeshAgent to pathfind the way to the target. The NavMeshAgent should be a child object of the Character, as demonstrated in the AI Character Prefab provided. If you want to create your own AI characters, you can follow the steps above, but start with the AI prefab we provided.
没有合适的资源?快使用搜索试试~ 我知道了~
UnityShader 描边效果
共370个文件
bin:98个
info:76个
meta:47个
5星 · 超过95%的资源 需积分: 31 72 下载量 82 浏览量
2018-05-17
18:40:09
上传
评论 2
收藏 43.52MB ZIP 举报
温馨提示
描边效果是游戏里面非常常用的一种效果,一般是为了凸显游戏中的某个对象,会给对象增加一个描边效果。
资源推荐
资源详情
资源评论
收起资源包目录
UnityShader 描边效果 (370个子文件)
00000000000000001000000000000000 4KB
00000000000000002000000000000000 4KB
00000000000000003000000000000000 4KB
00000000000000004000000000000000 4KB
00000000000000004100000000000000 4KB
00000000000000005000000000000000 4KB
00000000000000005100000000000000 4KB
00000000000000006000000000000000 4KB
00000000000000006100000000000000 4KB
00000000000000007000000000000000 4KB
00000000000000007100000000000000 4KB
00000000000000008000000000000000 4KB
00000000000000008100000000000000 4KB
00000000000000009000000000000000 4KB
0000000000000000a000000000000000 4KB
0000000000000000a100000000000000 4KB
0000000000000000b000000000000000 4KB
0000000000000000c000000000000000 4KB
0d9d26e2162aa4d11ab075b34c029673 517KB
0de3730b71e479c47995d4a98395073e 4KB
1062212255550964e974f3ffb3cbaae3 908KB
130ba9b9060b3a74a8a2e1a2a61a5572 69KB
1c52c953c83c2254a9fa72d50250f028 1.48MB
1ca2953d286cb2245a9e9d703352f0b0 70KB
1cb8ed3cbba15f0479fbae54e0a963df 1.36MB
1d500f7ddffd9394290044091fd17c91 4KB
29486a9cd1773f44f80570b5bd896a1d 4KB
368200e79c0001e4fa23a3b4ded85cb7 4KB
3b5b7be0f2332c24f89a2af018daa62d 21.34MB
3c0ad459c1534645b5d603b7cc258f97 6KB
3ea3742ea50ac4a418e9fa4d86befbdb 4KB
48804d998810d74469dcb39bdec1dca1 4KB
4e2f32e9a1fefc24092337ae061f3dbc 10.68MB
51dd2e4c869794f75a0df7d54b210214 389KB
54eb5844754051b40a918a84c33b7c1a 4KB
573168aa2320cba409447866df0b2dc5 4KB
5f32cd94baa94578a686d4b9d6b660f7 8KB
621e901dcf5ebaf46bce29d18f67194c 4KB
66a022d97f97295478d1cf559e7f3de3 4KB
672eab678e8e5494e84a6495c2768218 4KB
6a23fc5992360734ebb209f8c76f85d2 70KB
6fb3851da6a6f5948ab6892bee8ba920 2.65MB
739bbd9f364b4268874f9fd86ab3beef 6KB
7737647c22c1fc64a88d5cd030c352ce 4KB
7cbab2be89b54486bbd23a6fe637d30e 4KB
80a3616ca19596e4da0f10f14d241e9f 9KB
84636e1c138231041a842d6bd13f01a4 4KB
852e56802eb941638acbb491814497b0 6KB
870353891bb340e2b2a9c8707e7419ba 8KB
883841c531084584f9f559f479d07d68 4KB
8912f13e18e67bc478684ec30d73bc64 4KB
8c32f58513a41ef4dab9cb7704c5fb92 4KB
8e0cd8ed44d4412cbe0642067abc9e44 4KB
97decbdab0634cdd991f8d23ddf0dead 4KB
9b551c4f955076d479b61b04d2693f5a 70KB
a121fd1587baf0f4680904beee85c85b 70KB
adebbd281f1a4ef3a30be7f21937e02f 6KB
aef224e1951a8274684081643c7fa672 4KB
af82a5dcdad0f544c99fd1a84212021d 7KB
AnnotationManager 4KB
ProjectSettings.asset 36KB
ProjectSettings.asset 36KB
InputManager.asset 5KB
QualitySettings.asset 5KB
NavMeshAreas.asset 4KB
TagManager.asset 4KB
Physics2DSettings.asset 4KB
DynamicsManager.asset 4KB
GraphicsSettings.asset 4KB
EditorUserBuildSettings.asset 4KB
EditorSettings.asset 4KB
InspectorExpandedItems.asset 4KB
EditorUserSettings.asset 4KB
AudioManager.asset 4KB
BuildSettings.asset 4KB
UnityConnectSettings.asset 4KB
UnityAdsSettings.asset 4KB
TimeManager.asset 4KB
NetworkManager.asset 4KB
EditorBuildSettings.asset 4KB
ClusterInputManager.asset 4KB
MonoManager.asset 4KB
assetDatabase3 1.5MB
AssetImportState 8B
AssetServerCacheV3 5KB
b1a5e04ae51004842aba06704a6c2903 1.15MB
b235179bd2a63d1468dd430670338c55 948KB
b3627a16dc2ae014c9d3dc51b7d54d74 4KB
bb141fc9a700c9c4ca7e6dadb8acf24b 1.07MB
4397f51b88e87740bd5aff53a2d52609.bin 7KB
f6634b70a0ae77ea50a0e6c2aee8609f.bin 7KB
1e75507c198c096136b3814107bda88c.bin 7KB
f5d4a045850664422d2c7c938f46a409.bin 7KB
c55b5a69bd9483dc7bd278c5f7978d6c.bin 7KB
aea0e6809ac914f4b2492015fd189d42.bin 6KB
bca67f38eb836cf353afb73b2599f2d8.bin 4KB
ec296f51e37a5380a42dec445a8180bc.bin 3KB
5824e5257256178462e218e262d29463.bin 3KB
a33100a7823b0cdf0886ed4320a6e129.bin 3KB
5293bef1565ea5ca09dc6cff39b637f4.bin 3KB
共 370 条
- 1
- 2
- 3
- 4
资源评论
- IQ007伟哥2019-11-04感谢楼主分享
- german0002018-11-22用着不错,谢谢
- akkkcs2023-03-30好使 感谢分享
起个名字真的好难啊
- 粉丝: 571
- 资源: 37
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功