资源简介
5款Unity3D制作的小游戏实例,新手必备
代码片段和文件信息
using UnityEngine;
using System.Collections;
public class EggCollider : MonoBehaviour {
Playerscript myPlayerscript;
//Automatically run when a scene starts
void Awake()
{
myPlayerscript = transform.parent.GetComponentyerscript>();
}
//Triggered by Unity‘s Physics
void OnTriggerEnter(Collider theCollision)
{
//In this game we don‘t need to check *what* we hit; it must be the eggs
Gameobject collisionGO = theCollision.gameobject;
Destroy(collisionGO);
myPlayerscript.theScore++;
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
I.A.... 119928 2012-01-26 03:51 Game 3 - Marble game\Art\Ballance.fbx
I.A.... 54757 2012-01-26 03:51 Game 3 - Marble game\Art\ball_tex.jpg
I.A.... 3317 2012-01-26 03:51 Game 3 - Marble game\Art\Materials\ballance-me
I.A.... 3681 2012-01-26 03:52 Game 3 - Marble game\Art\Materials\ball_tex.mat
I.A.... 3678 2012-01-26 03:51 Game 3 - Marble game\Art\Materials\Skybox.mat
I.A.... 3437 2012-01-26 03:52 Game 3 - Marble game\Art\Materials\warningstripe.mat
I.A.... 3599 2012-01-26 03:51 Game 3 - Marble game\Art\Materials\wooden planks.mat
I.A.... 304968 2012-01-26 03:51 Game 3 - Marble game\Art\Skybox.jpg
I.A.... 7946 2012-01-26 03:52 Game 3 - Marble game\Art\straightPlatform.prefab
I.A.... 8088 2012-01-26 03:51 Game 3 - Marble game\Art\turnPlatform.prefab
I.A.... 9911 2012-01-26 03:52 Game 3 - Marble game\Art\warningstripe.jpg
I.A.... 182912 2012-01-26 03:51 Game 3 - Marble game\Art\Wooden planks 1.jpg
I.A.... 182912 2012-01-26 03:52 Game 3 - Marble game\Art\Wooden planks.jpg
I.A.... 8688 2012-01-26 03:52 Game 3 - Marble game\Gem.prefab
I.A.... 59283 2012-01-26 03:51 Game 3 - Marble game\Marble game.unity
I.A.... 183 2012-01-26 03:51 Game 3 - Marble game\sc
I.A.... 443 2012-01-26 03:52 Game 3 - Marble game\sc
I.A.... 672 2012-01-26 03:51 Game 3 - Marble game\sc
I.A.... 1513 2012-01-26 03:52 Game 3 - Marble game\sc
I.A.... 322360 2012-01-26 03:51 Game 4 - 3D breakout\Art\Breakout.fbx
I.A.... 3384 2012-01-26 03:51 Game 4 - 3D breakout\Art\Materials\breakout-ball.mat
I.A.... 3317 2012-01-26 03:52 Game 4 - 3D breakout\Art\Materials\breakout-blue.mat
I.A.... 3547 2012-01-26 03:52 Game 4 - 3D breakout\Art\Materials\breakout-green.mat
I.A.... 3317 2012-01-26 03:52 Game 4 - 3D breakout\Art\Materials\breakout-red.mat
I.A.... 3317 2012-01-26 03:52 Game 4 - 3D breakout\Art\Materials\breakout-yellow.mat
I.A.... 9771 2012-01-26 03:51 Game 4 - 3D breakout\BallPrefab.prefab
I.A.... 119131 2012-01-26 03:51 Game 4 - 3D breakout\Breakout.unity
I.A.... 1877 2012-01-26 03:51 Game 4 - 3D breakout\NoEnergyLoss.physicMaterial
I.A.... 8852 2012-01-26 03:51 Game 4 - 3D breakout\ob
I.A.... 924 2012-01-26 03:51 Game 4 - 3D breakout\sc
............此处省略89个文件信息
- 上一篇:TMS320F28xx的硬件设计指南
- 下一篇:react问答功能小
相关资源
- Unity3d 第三人称射击源码
- unity3D猜图小游戏
- Unity3D 第三人称射击游戏代码
- Unity3D铅笔风格滤镜
- unity3d动态天空
- Unity3D学习 愤怒的小鸟之关卡选择界面
- openCVSharp Unity3d
- canvas端午节小游戏
- MiniMapDemo
- 趣味桌球小游戏源代码
- H5游戏---端午节微信小游戏粽子大战
- 利用Unity3D开发汽车游戏
- SDL小游戏-打飞机
- Unity第三方微信支付安卓端工程
- 常用字体库大全
- unity3d 白天夜晚切换插件 Day_Night_Cyc
- AR GPS Location 3.3.0.unitypackage
- Unity3D 制作 汽车游戏 详细教程
- unity5.6 老电视屏幕效果
- 民间六子棋
- Unity3D射击游戏
- unity拯救大兵3.项目源文件
- 大家来找茬手机小游戏开发
- 蜗牛竞速休闲单机小游戏解压即玩
- Unity3D访问Webservice返回的数据集并解析
- 跳一跳 小游戏 源码
- 基于Flash的程序开发:按钮、键盘控制
- NGUI可用的中文字体
- Unity3d 16种镜头光晕
- 微信跳一跳小游戏源代码
评论
共有 条评论