资源简介
以前自己用Flash做的小游戏重新用Unity复刻了一次,加强了美术效果以及优化了关卡
游戏名:「推箱子 3D」「Sokoban 3D
开发引擎:Unity

代码片段和文件信息
// Author: Daniele Giardini - http://www.demigiant.com
// Created: 2018/07/13
#if true // MODULE_MARKER
using System;
using UnityEngine;
#if UNITY_5 || UNITY_2017_1_OR_NEWER
using UnityEngine.Audio; // Required for AudioMixer
#endif
#pragma warning disable 1591
namespace DG.Tweening
{
public static class DOTweenModuleAudio
{
#region Shortcuts
#region Audio
/// Tweens an AudioSource‘s volume to the given value.
/// Also stores the AudioSource as the tween‘s target so it can be used for filtered operations
/// The end value to reach (0 to 1)The duration of the tween
public static Tweener DOFade(this AudioSource target float endValue float duration)
{
if (endValue < 0) endValue = 0;
else if (endValue > 1) endValue = 1;
return DOTween.To(() => target.volume x => target.volume = x endValue duration).SetTarget(target);
}
/// Tweens an AudioSource‘s pitch to the given value.
/// Also stores the AudioSource as the tween‘s target so it can be used for filtered operations
/// The end value to reachThe duration of the tween
public static Tweener DOPitch(this AudioSource target float endValue float duration)
{
return DOTween.To(() => target.pitch x => target.pitch = x endValue duration).SetTarget(target);
}
#endregion
#if UNITY_5 || UNITY_2017_1_OR_NEWER
#region AudioMixer (Unity 5 or Newer)
/// Tweens an AudioMixer‘s exposed float to the given value.
/// Also stores the AudioMixer as the tween‘s target so it can be used for filtered operations.
/// Note that you need to manually expose a float in an AudioMixerGroup in order to be able to tween it from an AudioMixer.
/// Name given to the exposed float to set
/// The end value to reachThe duration of the tween
public static Tweener DOSetFloat(this AudioMixer target string floatName float endValue float duration)
{
return DOTween.To(()=> {
float currVal;
target.GetFloat(floatName out currVal);
return currVal;
} x=> target.SetFloat(floatName x) endValue duration)
.SetTarget(target);
}
#region Operation Shortcuts
///
/// Completes all tweens that have this target as a reference
/// (meaning tweens that were started from this target or that had this target added as an Id)
/// and returns the total number of tweens completed
/// (meaning the tweens that don‘t have infinite loops and were not already complete)
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-09-11 12:31 sokoban-master\
文件 1758 2018-09-11 12:31 sokoban-master\README.md
目录 0 2018-09-11 12:31 sokoban-master\Sokoban\
目录 0 2018-09-11 12:31 sokoban-master\Sokoban\Assets\
文件 172 2018-09-11 12:31 sokoban-master\Sokoban\Assets\CopyRight.me
目录 0 2018-09-11 12:31 sokoban-master\Sokoban\Assets\CopyRight\
文件 172 2018-09-11 12:31 sokoban-master\Sokoban\Assets\CopyRight\Developer.me
目录 0 2018-09-11 12:31 sokoban-master\Sokoban\Assets\CopyRight\Developer\
文件 27457 2018-09-11 12:31 sokoban-master\Sokoban\Assets\CopyRight\Developer\Jing.jpg
文件 1914 2018-09-11 12:31 sokoban-master\Sokoban\Assets\CopyRight\Developer\Jing.jpg.me
文件 30284 2018-09-11 12:31 sokoban-master\Sokoban\Assets\CopyRight\Developer\Owen.jpg
文件 1914 2018-09-11 12:31 sokoban-master\Sokoban\Assets\CopyRight\Developer\Owen.jpg.me
文件 30855 2018-09-11 12:31 sokoban-master\Sokoban\Assets\CopyRight\Developer\XingYuChen.jpg
文件 1914 2018-09-11 12:31 sokoban-master\Sokoban\Assets\CopyRight\Developer\XingYuChen.jpg.me
文件 783653 2018-09-11 12:31 sokoban-master\Sokoban\Assets\CopyRight\icon_01.png
文件 1914 2018-09-11 12:31 sokoban-master\Sokoban\Assets\CopyRight\icon_01.png.me
文件 722155 2018-09-11 12:31 sokoban-master\Sokoban\Assets\CopyRight\icon_02.png
文件 1914 2018-09-11 12:31 sokoban-master\Sokoban\Assets\CopyRight\icon_02.png.me
文件 82261 2018-09-11 12:31 sokoban-master\Sokoban\Assets\CopyRight\pieceS_icon.jpg
文件 1914 2018-09-11 12:31 sokoban-master\Sokoban\Assets\CopyRight\pieceS_icon.jpg.me
文件 172 2018-09-11 12:31 sokoban-master\Sokoban\Assets\Libs.me
目录 0 2018-09-11 12:31 sokoban-master\Sokoban\Assets\Libs\
文件 172 2018-09-11 12:31 sokoban-master\Sokoban\Assets\Libs\DOTween.me
目录 0 2018-09-11 12:31 sokoban-master\Sokoban\Assets\Libs\DOTween\
文件 187775 2018-09-11 12:31 sokoban-master\Sokoban\Assets\Libs\DOTween\DOTween.xm
文件 158 2018-09-11 12:31 sokoban-master\Sokoban\Assets\Libs\DOTween\DOTween.xm
文件 143360 2018-09-11 12:31 sokoban-master\Sokoban\Assets\Libs\DOTween\DOTween.dll
文件 55341 2018-09-11 12:31 sokoban-master\Sokoban\Assets\Libs\DOTween\DOTween.dll.mdb
文件 155 2018-09-11 12:31 sokoban-master\Sokoban\Assets\Libs\DOTween\DOTween.dll.mdb.me
文件 569 2018-09-11 12:31 sokoban-master\Sokoban\Assets\Libs\DOTween\DOTween.dll.me
文件 172 2018-09-11 12:31 sokoban-master\Sokoban\Assets\Libs\DOTween\Editor.me
............此处省略748个文件信息
- 上一篇:[软件调试].张银奎.随书光盘
- 下一篇:myServiceDemo
相关资源
- Unity3D登录界面工程
- 推箱子及人工智能寻路C 源代码
- unity3d反编译工具
-
UnityWebPla
yer及UnityWebPla yerFull -
UnityWebPla
yerFull - scratch 推箱子.sb2
- unity4.0官方正式版
- Behavior Designer 1.6.3(u2018.3.0).unitypa
- Unity纪念碑谷.rar
- A Pathfinding Project Pro v4.2.2.rar
- Unity 声音播放插件,支持将字符串转
- Gaia 1.7.2
- Unity3d实现扭动挤压浏览效果
- UnityShader卷轴效果
- 爱酱(绊爱Kizuna)模型
- 遗传算法越野小车unity5.5
- unity 3D 百度语音合成 并播放
- unity案例入门坦克大战源码
- Graph And Chart 1.91.unitypackage
- Animated Steel Coaster 1.51.rar
- Unity3D游戏开发.pdf 宣雨松著完整高清
- Unity3D版水果忍者
- unity3d爆炸特效包
- unity3d_见缝插针源码及报告.zip
- Unity3d车库场景模型
- unity3d 警察动画模型
- unity20多种烟雾以及爆炸特效
- unity博物馆.zip
- burpsuite_community社区版x86系统
- unity3D 新手引导遮罩,支持圆形和矩形
评论
共有 条评论