愤怒的小鸟资源包
愤怒的小鸟资源包{UI,music,C#}等一系列资源,仅供课堂学习开发使用!
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-02-11 17:10 愤怒的小鸟
目录 0 2018-02-11 17:09 愤怒的小鸟AngryBird
目录 0 2018-02-11 15:54 愤怒的小鸟AngryBird.vs
目录 0 2018-02-11 15:54 愤怒的小鸟AngryBird.vsAngryBird
目录 0 2018-02-11 15:54 愤怒的小鸟AngryBird.vsAngryBirdv15
文件 113152 2018-02-11 17:09 愤怒的小鸟AngryBird.vsAngryBirdv15.suo
目录 0 2018-02-11 15:54 愤怒的小鸟AngryBird.vsAngryBirdv15Server
目录 0 2018-02-11 17:09 愤怒的小鸟AngryBird.vsAngryBirdv15Serversqlite3
文件 0 2018-01-20 00:15 愤怒的小鸟AngryBird.vsAngryBirdv15Serversqlite3db.lock
文件 716800 2018-02-11 17:09 愤怒的小鸟AngryBird.vsAngryBirdv15Serversqlite3storage.ide
文件 18139 2018-02-11 15:58 愤怒的小鸟AngryBirdAngryBird.csproj
文件 907 2018-01-20 00:15 愤怒的小鸟AngryBirdAngryBird.sln
目录 0 2018-02-11 15:54 愤怒的小鸟AngryBirdAssets
目录 0 2018-02-11 15:54 愤怒的小鸟AngryBirdAssetsAnimation
文件 213 2018-01-20 10:36 愤怒的小鸟AngryBirdAssetsAnimation.meta
文件 1914 2018-01-20 10:46 愤怒的小鸟AngryBirdAssetsAnimationBIRDS_1_171.controller
文件 229 2018-01-20 10:36 愤怒的小鸟AngryBirdAssetsAnimationBIRDS_1_171.controller.meta
文件 3607 2018-01-20 10:46 愤怒的小鸟AngryBirdAssetsAnimationoom.anim
文件 229 2018-01-20 10:36 愤怒的小鸟AngryBirdAssetsAnimationoom.anim.meta
文件 6226 2018-01-20 16:36 愤怒的小鸟AngryBirdAssetsAnimationLose.anim
文件 229 2018-01-20 16:26 愤怒的小鸟AngryBirdAssetsAnimationLose.anim.meta
文件 1907 2018-01-20 16:36 愤怒的小鸟AngryBirdAssetsAnimationlose.controller
文件 229 2018-01-20 16:26 愤怒的小鸟AngryBirdAssetsAnimationlose.controller.meta
文件 8701 2018-01-20 21:55 愤怒的小鸟AngryBirdAssetsAnimationpause.anim
文件 229 2018-01-20 18:18 愤怒的小鸟AngryBirdAssetsAnimationpause.anim.meta
文件 5616 2018-01-20 21:55 愤怒的小鸟AngryBirdAssetsAnimationpausePanel.controller
文件 229 2018-01-20 18:18 愤怒的小鸟AngryBirdAssetsAnimationpausePanel.controller.meta
文件 8775 2018-01-20 21:55 愤怒的小鸟AngryBirdAssetsAnimation
esume.anim
文件 229 2018-01-20 18:20 愤怒的小鸟AngryBirdAssetsAnimation
esume.anim.meta
文件 6374 2018-01-20 16:36 愤怒的小鸟AngryBirdAssetsAnimationWin.anim
文件 229 2018-01-20 16:30 愤怒的小鸟AngryBirdAssetsAnimationWin.anim.meta
............此处省略2129个文件信息
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
// This is the PocketRPG weapon trail. For best results itterate it and your animation several times a frame.
// It is based on the Tron trails Unity example
// PocketRPG trails run faster than the framerate... (default is 300 frames a second)... that is how they are so smooth (30fps trails are rather jerky)
// This code was written by Evan Greenwood (of Free Lives) and used in the game PocketRPG by Tasty Poison Games.
// But you can use this how you please... Make great games... that‘s what this is about.
// This code is provided as is. Please discuss this on the Unity Forums if you need help.
//
class TronTrailSection
{
public Vector3 point;
public Vector3 upDir;
public float time;
public TronTrailSection() {
}
public TronTrailSection(Vector3 p float t) {
point = p;
time = t;
}
}
[RequireComponent(typeof(MeshFilter))]
[AddComponentMenu(“PocketRPG/Weapon Trail“)]
public class WeaponTrail : MonoBehaviour {
/*
Generates a trail that is always facing upwards using the scriptable mesh interface. (This is from the Tron Trails in Unity)
vertex colors and uv‘s are generated similar to the builtin Trail Renderer. But it DOES NOT RUN ITSELF LIKE THE TRAIL RENDERER. (there is no update method)
To use it
1. Create an empty game object (your weapon) with it‘s y axis pointing along the weapons blade.
2. Attach this script and a MeshRenderer
3. Then assign a particle material to the mesh renderer
4. Call it‘s Itterate method everytime you sample the animation (if you want a smooth trail this should be more than once a frame)
5. Call it‘s UpdateTrail method once a frame to rebuild the mesh
*/
#region Public
public float height = 2.0f;
public float time = 2.0f;
public bool alwaysUp = false;
public float minDistance = 0.1f;
public float timeTransitionSpeed = 1f;
public float desiredTime = 2.0f;
public Color startColor = Color.white;
public Color endColor = new Color(1 1 1 0);
#endregion
//
#region Temporary
Vector3 position;
float now = 0;
TronTrailSection currentSection;
Matrix4x4 localSpaceTransform;
#endregion
#region Internal
private Mesh mesh;
private Vector3[] vertices;
private Color[] colors;
private Vector2[] uv;
#endregion
#region Customisers
private MeshRenderer meshRenderer;
private Material trailMaterial;
#endregion
private List sections = new List();
void Awake() {
MeshFilter meshF = GetComponent(typeof(MeshFilter)) as MeshFilter;
mesh = meshF.mesh;
meshRenderer = GetComponent(typeof(MeshRenderer)) as MeshRenderer;
trailMaterial = meshRenderer.material;
}
public void StartTrail(float timeToTweenTo float fadeInTim
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-02-11 17:10 愤怒的小鸟
目录 0 2018-02-11 17:09 愤怒的小鸟AngryBird
目录 0 2018-02-11 15:54 愤怒的小鸟AngryBird.vs
目录 0 2018-02-11 15:54 愤怒的小鸟AngryBird.vsAngryBird
目录 0 2018-02-11 15:54 愤怒的小鸟AngryBird.vsAngryBirdv15
文件 113152 2018-02-11 17:09 愤怒的小鸟AngryBird.vsAngryBirdv15.suo
目录 0 2018-02-11 15:54 愤怒的小鸟AngryBird.vsAngryBirdv15Server
目录 0 2018-02-11 17:09 愤怒的小鸟AngryBird.vsAngryBirdv15Serversqlite3
文件 0 2018-01-20 00:15 愤怒的小鸟AngryBird.vsAngryBirdv15Serversqlite3db.lock
文件 716800 2018-02-11 17:09 愤怒的小鸟AngryBird.vsAngryBirdv15Serversqlite3storage.ide
文件 18139 2018-02-11 15:58 愤怒的小鸟AngryBirdAngryBird.csproj
文件 907 2018-01-20 00:15 愤怒的小鸟AngryBirdAngryBird.sln
目录 0 2018-02-11 15:54 愤怒的小鸟AngryBirdAssets
目录 0 2018-02-11 15:54 愤怒的小鸟AngryBirdAssetsAnimation
文件 213 2018-01-20 10:36 愤怒的小鸟AngryBirdAssetsAnimation.me
文件 1914 2018-01-20 10:46 愤怒的小鸟AngryBirdAssetsAnimationBIRDS_1_171.controller
文件 229 2018-01-20 10:36 愤怒的小鸟AngryBirdAssetsAnimationBIRDS_1_171.controller.me
文件 3607 2018-01-20 10:46 愤怒的小鸟AngryBirdAssetsAnimationoom.anim
文件 229 2018-01-20 10:36 愤怒的小鸟AngryBirdAssetsAnimationoom.anim.me
文件 6226 2018-01-20 16:36 愤怒的小鸟AngryBirdAssetsAnimationLose.anim
文件 229 2018-01-20 16:26 愤怒的小鸟AngryBirdAssetsAnimationLose.anim.me
文件 1907 2018-01-20 16:36 愤怒的小鸟AngryBirdAssetsAnimationlose.controller
文件 229 2018-01-20 16:26 愤怒的小鸟AngryBirdAssetsAnimationlose.controller.me
文件 8701 2018-01-20 21:55 愤怒的小鸟AngryBirdAssetsAnimationpause.anim
文件 229 2018-01-20 18:18 愤怒的小鸟AngryBirdAssetsAnimationpause.anim.me
文件 5616 2018-01-20 21:55 愤怒的小鸟AngryBirdAssetsAnimationpausePanel.controller
文件 229 2018-01-20 18:18 愤怒的小鸟AngryBirdAssetsAnimationpausePanel.controller.me
文件 8775 2018-01-20 21:55 愤怒的小鸟AngryBirdAssetsAnimation
esume.anim
文件 229 2018-01-20 18:20 愤怒的小鸟AngryBirdAssetsAnimation
esume.anim.me
文件 6374 2018-01-20 16:36 愤怒的小鸟AngryBirdAssetsAnimationWin.anim
文件 229 2018-01-20 16:30 愤怒的小鸟AngryBirdAssetsAnimationWin.anim.me
............此处省略2129个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)