Adding the massive creature pack and the third wave definition
This commit is contained in:
parent
3dcc0e7edd
commit
3568936359
3455 changed files with 617880 additions and 1 deletions
|
|
@ -0,0 +1,20 @@
|
|||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
public class ScrollingUVs : MonoBehaviour
|
||||
{
|
||||
public int materialIndex = 0;
|
||||
public Vector2 uvAnimationRate = new Vector2( 1.0f, 0.0f );
|
||||
public string textureName = "_MainTex";
|
||||
|
||||
Vector2 uvOffset = Vector2.zero;
|
||||
|
||||
void LateUpdate()
|
||||
{
|
||||
uvOffset += ( uvAnimationRate * Time.deltaTime );
|
||||
if( GetComponent<Renderer>().enabled )
|
||||
{
|
||||
GetComponent<Renderer>().materials[ materialIndex ].SetTextureOffset( textureName, uvOffset );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
fileFormatVersion: 2
|
||||
guid: a7aa06d3172c761428ab49411b53662c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 5730
|
||||
packageName: HEROIC FANTASY CREATURES FULL PACK Volume 1
|
||||
packageVersion: 2.5
|
||||
assetPath: Assets/HEROIC FANTASY CREATURES FULL PACK VOL 1/Demonic Creatures Pack/Demon
|
||||
Lord/Script/ScrollingUVs.cs
|
||||
uploadId: 868080
|
||||
Loading…
Add table
Add a link
Reference in a new issue