Added new texture for when meat is motionless

This commit is contained in:
Gregory Campbell
2020-02-09 23:00:23 -05:00
parent 6ea501509c
commit 9c541a976d
15 changed files with 211 additions and 0 deletions
+77
View File
@@ -0,0 +1,77 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: ROTTENMEAT
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
+8
View File
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 396ea795e28623647971c724407e6211
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:
+4
View File
@@ -110,6 +110,7 @@ MonoBehaviour:
zaxis: 0 zaxis: 0
speed: 20 speed: 20
block: {fileID: 992985404997409621} block: {fileID: 992985404997409621}
rotten: {fileID: 2100000, guid: 396ea795e28623647971c724407e6211, type: 2}
--- !u!1 &1838588019358539029 --- !u!1 &1838588019358539029
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -220,6 +221,7 @@ MonoBehaviour:
zaxis: 0 zaxis: 0
speed: 20 speed: 20
block: {fileID: 1838588019358539029} block: {fileID: 1838588019358539029}
rotten: {fileID: 2100000, guid: 396ea795e28623647971c724407e6211, type: 2}
--- !u!1 &2898804552450333934 --- !u!1 &2898804552450333934
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -522,6 +524,7 @@ MonoBehaviour:
zaxis: 0 zaxis: 0
speed: 20 speed: 20
block: {fileID: 3501896229398270785} block: {fileID: 3501896229398270785}
rotten: {fileID: 2100000, guid: 396ea795e28623647971c724407e6211, type: 2}
--- !u!1 &5337212826336956548 --- !u!1 &5337212826336956548
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -725,3 +728,4 @@ MonoBehaviour:
zaxis: 0 zaxis: 0
speed: 20 speed: 20
block: {fileID: 6080885810732294299} block: {fileID: 6080885810732294299}
rotten: {fileID: 2100000, guid: 396ea795e28623647971c724407e6211, type: 2}
@@ -203,6 +203,7 @@ MonoBehaviour:
zaxis: 0 zaxis: 0
speed: 20 speed: 20
block: {fileID: 3998205111013408114} block: {fileID: 3998205111013408114}
rotten: {fileID: 2100000, guid: 396ea795e28623647971c724407e6211, type: 2}
--- !u!1 &4202038390682185978 --- !u!1 &4202038390682185978
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -508,6 +509,7 @@ MonoBehaviour:
zaxis: 0 zaxis: 0
speed: 20 speed: 20
block: {fileID: 4989772145469751011} block: {fileID: 4989772145469751011}
rotten: {fileID: 2100000, guid: 396ea795e28623647971c724407e6211, type: 2}
--- !u!1 &5565317366152616536 --- !u!1 &5565317366152616536
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -897,6 +899,7 @@ MonoBehaviour:
zaxis: 0 zaxis: 0
speed: 20 speed: 20
block: {fileID: 8830762136531570441} block: {fileID: 8830762136531570441}
rotten: {fileID: 2100000, guid: 396ea795e28623647971c724407e6211, type: 2}
--- !u!1 &9180557498668591541 --- !u!1 &9180557498668591541
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -1007,3 +1010,4 @@ MonoBehaviour:
zaxis: 0 zaxis: 0
speed: 20 speed: 20
block: {fileID: 9180557498668591541} block: {fileID: 9180557498668591541}
rotten: {fileID: 2100000, guid: 396ea795e28623647971c724407e6211, type: 2}
+4
View File
@@ -110,6 +110,7 @@ MonoBehaviour:
zaxis: 0 zaxis: 0
speed: 20 speed: 20
block: {fileID: 3458624677133895880} block: {fileID: 3458624677133895880}
rotten: {fileID: 2100000, guid: 396ea795e28623647971c724407e6211, type: 2}
--- !u!1 &3570707396209096919 --- !u!1 &3570707396209096919
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -313,6 +314,7 @@ MonoBehaviour:
zaxis: 0 zaxis: 0
speed: 20 speed: 20
block: {fileID: 5405755162542111506} block: {fileID: 5405755162542111506}
rotten: {fileID: 2100000, guid: 396ea795e28623647971c724407e6211, type: 2}
--- !u!1 &5799837134442839398 --- !u!1 &5799837134442839398
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -615,6 +617,7 @@ MonoBehaviour:
zaxis: 0 zaxis: 0
speed: 20 speed: 20
block: {fileID: 7070615899916055878} block: {fileID: 7070615899916055878}
rotten: {fileID: 2100000, guid: 396ea795e28623647971c724407e6211, type: 2}
--- !u!1 &8528673420657472262 --- !u!1 &8528673420657472262
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -725,3 +728,4 @@ MonoBehaviour:
zaxis: 0 zaxis: 0
speed: 20 speed: 20
block: {fileID: 8528673420657472262} block: {fileID: 8528673420657472262}
rotten: {fileID: 2100000, guid: 396ea795e28623647971c724407e6211, type: 2}
+4
View File
@@ -110,6 +110,7 @@ MonoBehaviour:
zaxis: 0 zaxis: 0
speed: 20 speed: 20
block: {fileID: 714468234725069295} block: {fileID: 714468234725069295}
rotten: {fileID: 2100000, guid: 396ea795e28623647971c724407e6211, type: 2}
--- !u!1 &1245788877316202048 --- !u!1 &1245788877316202048
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -412,6 +413,7 @@ MonoBehaviour:
zaxis: 0 zaxis: 0
speed: 20 speed: 20
block: {fileID: 2373549887710126011} block: {fileID: 2373549887710126011}
rotten: {fileID: 2100000, guid: 396ea795e28623647971c724407e6211, type: 2}
--- !u!1 &3797867047048862203 --- !u!1 &3797867047048862203
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -522,6 +524,7 @@ MonoBehaviour:
zaxis: 0 zaxis: 0
speed: 20 speed: 20
block: {fileID: 3797867047048862203} block: {fileID: 3797867047048862203}
rotten: {fileID: 2100000, guid: 396ea795e28623647971c724407e6211, type: 2}
--- !u!1 &7859014921423397429 --- !u!1 &7859014921423397429
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -632,6 +635,7 @@ MonoBehaviour:
zaxis: 0 zaxis: 0
speed: 20 speed: 20
block: {fileID: 7859014921423397429} block: {fileID: 7859014921423397429}
rotten: {fileID: 2100000, guid: 396ea795e28623647971c724407e6211, type: 2}
--- !u!1 &8314462717989605930 --- !u!1 &8314462717989605930
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
+1
View File
@@ -392,3 +392,4 @@ MonoBehaviour:
zaxis: 0 zaxis: 0
speed: 20 speed: 20
block: {fileID: 9141818804918287969} block: {fileID: 9141818804918287969}
rotten: {fileID: 2100000, guid: 396ea795e28623647971c724407e6211, type: 2}
@@ -203,6 +203,7 @@ MonoBehaviour:
zaxis: 0 zaxis: 0
speed: 20 speed: 20
block: {fileID: 1365680034780058874} block: {fileID: 1365680034780058874}
rotten: {fileID: 2100000, guid: 396ea795e28623647971c724407e6211, type: 2}
--- !u!1 &2304334567999651801 --- !u!1 &2304334567999651801
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
+1
View File
@@ -206,6 +206,7 @@ MonoBehaviour:
zaxis: 0 zaxis: 0
speed: 20 speed: 20
block: {fileID: 5315656875779831730} block: {fileID: 5315656875779831730}
rotten: {fileID: 2100000, guid: 396ea795e28623647971c724407e6211, type: 2}
--- !u!1 &6584276642715776184 --- !u!1 &6584276642715776184
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
+1
View File
@@ -299,6 +299,7 @@ MonoBehaviour:
zaxis: 0 zaxis: 0
speed: 20 speed: 20
block: {fileID: 7961322303990779386} block: {fileID: 7961322303990779386}
rotten: {fileID: 2100000, guid: 396ea795e28623647971c724407e6211, type: 2}
--- !u!1 &8074531716470128101 --- !u!1 &8074531716470128101
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
+8
View File
@@ -9,11 +9,13 @@ public class MovingBlock : MonoBehaviour
public bool zaxis; public bool zaxis;
public float speed; public float speed;
public GameObject block; public GameObject block;
public Material rotten;
bool moveXpos; bool moveXpos;
bool moveZpos; bool moveZpos;
Vector3 startPos; Vector3 startPos;
MeshRenderer mr;
void Start() void Start()
{ {
@@ -48,6 +50,12 @@ public class MovingBlock : MonoBehaviour
moveZpos = false; moveZpos = false;
} }
if(!xaxis && !zaxis)
{
mr = this.GetComponent<MeshRenderer>();
mr.material = rotten;
}
} }
// Update is called once per frame // Update is called once per frame
Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

+91
View File
@@ -0,0 +1,91 @@
fileFormatVersion: 2
guid: 90a47c5882375184e88e44f774e11074
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 10
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
+7
View File
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 9a25e6e887dd87445a70c07276931f71
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: