2016 Spyblood Games
Thank you for downloading this free asset!
This is just a simple Day and night cycle.
The purpose of this asset is to add a bit of realism to your survival game, or RPG game, or any game really where you want the days to go by,
literally.
All code has been documented with comments so you can tell what everything means, and where everything is.
Contents in this package:
(all scripts written in c#)
-a day/night controller script
-a playable scene to demonstrate the abillities of this asset
-a visual moving clock object and script
-A character controller.
(PLEASE NOTE: the character controller is not made by me, but by Unity Technologies. Therefore, all credit goes to them. It is in this pack as just and example for the playable scene. Again please note, it was not made by me.)
Setting it all up: (Tutorial)
-you may use the prefabs provided; therefore making no use for this tutorial. It is here for the sake of people who "want to do it themselves".
1. start with a basic scene. File->New Scene
2. add a terrain for your character controller to walk on. (Optional) GameObject -> 3D Object -> Terrain
3. Delete the Main Camera from the scene. (Optional)
4. Drag and Drop the Character Controller Prefab from it's folder (Optional).
5. Go to the prefabs folder, and drag and drop the "Day and Night Controller" into the scene.
6. In the empty "Directional Light" slot, assign the scene's Directional Light object to it.
7. From here, you can tweak the Seconds in a Full Day var to something you like. to keep it symetric, put the value to seconds in a full minute. (EX: 60 = 1 full minute.)
8. Hit play, and there you have it! if you wait a bit, you can see that the sky will be getting a little brighter. (default is night time).
Again, thanks for downloading this, and have fun.
Got any questions?
email me at [email protected]
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
City Coach Bus Simulator 城市长途客车模拟器:Unity现代巴士驱动游戏项目源码C# 描述 支持Unity版本5.6.2p2及以上 City Coach Bus 2018 是一款最新的城市巴士游戏,您将驾驶长途巴士在城市之间运送乘客。 在一个美丽的山区,有一些漂亮的城镇,人们乘坐长途汽车和城市公交车出行,这对你一个资深的公交车司机来说意味着一笔大生意。您良好的公交车驾驶技术赢得了城镇居民的信任。所以有很多人喜欢乘坐自己驾驶的长途汽车。 特征 现实交通 美丽的城乡环境 具有挑战性的任务和关卡 驾驶不同的大型巴士 真实的巴士物理和游戏玩法 令人惊叹的 3D 图形 逼真的巴士内饰 逼真的游戏音效 方向盘、按钮和倾斜控制装置 具有挑战性的任务 驾驶不同的大客车 令人惊叹的 3D 图形
资源推荐
资源详情
资源评论
收起资源包目录
City Coach Bus Simulator 城市长途客车模拟器:Unity现代巴士驱动游戏项目源码C# (2000个子文件)
Pluginiap.a 5.77MB
sdkbox.a 2.81MB
libiap.a 910KB
SphereIdle.anim 13KB
SphereWalk.anim 11KB
Terrain.asset 1007KB
NavMesh.asset 178KB
ProjectSettings.asset 51KB
InputManager.asset 5KB
RCC_Settings.asset 5KB
QualitySettings.asset 5KB
TagManager.asset 4KB
GraphicsSettings.asset 4KB
NavMeshAreas.asset 4KB
RCC_GroundMaterials.asset 4KB
Physics2DSettings.asset 4KB
DynamicsManager.asset 4KB
EditorBuildSettings.asset 4KB
UnityConnectSettings.asset 4KB
EditorSettings.asset 4KB
AudioManager.asset 4KB
UnityAdsSettings.asset 4KB
NetworkManager.asset 4KB
UnityAnalyticsManager.asset 4KB
TimeManager.asset 4KB
ClusterInputManager.asset 4KB
MudRockyAlbedoSpecular.bmp 4MB
MudRockyNormals.bmp 3MB
doubledecker_body.bmp 1.06MB
doubledecker_body.bmp 1.06MB
doubledecker_backlght.bmp 590KB
doubledecker_backlght.bmp 590KB
doubledecker_1.bmp 67KB
doubledecker_1.bmp 67KB
WaterInclude.cginc 7KB
ThirdPersonAnimatorController.controller 21KB
iTween.cs 267KB
RCC_CarControllerV3.cs 59KB
hoMove.cs 26KB
hoMoveEditor.cs 23KB
iMoveEditor.cs 23KB
iMove.cs 18KB
RCC_WheelCollider.cs 17KB
Water.cs 17KB
PathEditor.cs 15KB
Json.cs 13KB
WaypointCircuit.cs 13KB
IAP.cs 12KB
RCC_AICarController.cs 11KB
Externs.cs 10KB
RCC_Camera.cs 10KB
FirstPersonController.cs 9KB
PlanarReflection.cs 9KB
RigidbodyFirstPersonController.cs 9KB
RewardBasedVideoAdClient.cs 8KB
WaypointEditor.cs 7KB
RuntimeExample.cs 7KB
ThirdPersonCharacter.cs 7KB
AutoMobileShaderSwitch.cs 7KB
TimedObjectActivator.cs 7KB
Utils.cs 7KB
NativeExpressAdClient.cs 7KB
WaypointProgressTracker.cs 7KB
InterstitialClient.cs 7KB
CrossPlatformInputManager.cs 6KB
BannerClient.cs 6KB
ProtectCameraFromWallClip.cs 6KB
AutoCam.cs 6KB
RCC_UIDashboardButton.cs 6KB
RCC_Skidmarks.cs 5KB
CustomNativeTemplateClient.cs 5KB
AdLoaderClient.cs 5KB
DummyClient.cs 5KB
RCC_Light.cs 5KB
FreeLookCam.cs 5KB
RCC_MobileButtons.cs 5KB
UserInput.cs 5KB
VirtualInput.cs 5KB
PathManager.cs 5KB
TiltInput.cs 5KB
SimpleMouseRotator.cs 4KB
TouchPad.cs 4KB
RCC_UISteeringWheelController.cs 4KB
WaypointManager.cs 4KB
InterstitialClient.cs 4KB
AdLoader.cs 4KB
GoogleMobileAdsClientFactory.cs 4KB
NativeExpressAdClient.cs 4KB
RewardBasedVideoAdClient.cs 4KB
RCC_MainFixedCamera.cs 4KB
AdRequest.cs 4KB
RCC_DashboardInputs.cs 4KB
AbstractTargetFollower.cs 3KB
ActivateTrigger.cs 3KB
MobileInput.cs 3KB
RewardBasedVideoAd.cs 3KB
BannerClient.cs 3KB
RCC_Settings.cs 3KB
TargetFieldOfView.cs 3KB
Joystick.cs 3KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
小云同志你好
- 粉丝: 1051
- 资源: 999
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功