Commit 701483ee authored by Vikrant Rajan's avatar Vikrant Rajan
Browse files

v 3.0

parent e68ce5e7
fileFormatVersion: 2
guid: d1b4e9248ba884beea9d9a1041d75076
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:
......@@ -46,7 +46,7 @@ ParticleSystem:
cullingMode: 0
ringBufferMode: 0
ringBufferLoopRange: {x: 0, y: 1}
looping: 0
looping: 1
prewarm: 0
playOnAwake: 1
useUnscaledTime: 0
......
......@@ -46,7 +46,7 @@ ParticleSystem:
cullingMode: 0
ringBufferMode: 0
ringBufferLoopRange: {x: 0, y: 1}
looping: 0
looping: 1
prewarm: 0
playOnAwake: 1
useUnscaledTime: 0
......
......@@ -4388,6 +4388,11 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1430635433875271716, guid: 0f159601062464c00a9b6972d444269f,
type: 3}
propertyPath: startDelay.scalar
value: 24
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 0f159601062464c00a9b6972d444269f, type: 3}
--- !u!1001 &177612424
......@@ -13391,7 +13396,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
prefab: {fileID: 0}
cowDestroyed: 0
cowLife: 15
cowLife: 10
--- !u!1001 &547125549
PrefabInstance:
m_ObjectHideFlags: 0
......@@ -14951,6 +14956,11 @@ PrefabInstance:
propertyPath: m_Name
value: cattle_lowpoly (1)
objectReference: {fileID: 0}
- target: {fileID: -927199367670048503, guid: 2546986dc670845a9959f8aa49836001,
type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 2546986dc670845a9959f8aa49836001,
type: 3}
propertyPath: m_LocalPosition.x
......@@ -15145,7 +15155,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
prefab: {fileID: 0}
cowDestroyed: 0
cowLife: 15
cowLife: 25
--- !u!1001 &625231743
PrefabInstance:
m_ObjectHideFlags: 0
......@@ -22491,6 +22501,11 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1430635433875271716, guid: 0f159601062464c00a9b6972d444269f,
type: 3}
propertyPath: startDelay.scalar
value: 9
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 0f159601062464c00a9b6972d444269f, type: 3}
--- !u!1001 &1074091988
......@@ -32329,6 +32344,11 @@ PrefabInstance:
propertyPath: m_Name
value: cattle_lowpoly
objectReference: {fileID: 0}
- target: {fileID: -927199367670048503, guid: 2546986dc670845a9959f8aa49836001,
type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 2546986dc670845a9959f8aa49836001,
type: 3}
propertyPath: m_LocalPosition.x
......@@ -34381,6 +34401,11 @@ PrefabInstance:
propertyPath: m_Name
value: cattle_lowpoly (3)
objectReference: {fileID: 0}
- target: {fileID: -927199367670048503, guid: 2546986dc670845a9959f8aa49836001,
type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 2546986dc670845a9959f8aa49836001,
type: 3}
propertyPath: m_LocalPosition.x
......@@ -34593,7 +34618,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
mouseSensitivityX: 250
mouseSensitivityY: 250
walkSpeed: 15
walkSpeed: 30
jumpForce: 220
--- !u!4 &1659783180 stripped
Transform:
......@@ -37475,6 +37500,11 @@ PrefabInstance:
propertyPath: m_Name
value: cattle_lowpoly (2)
objectReference: {fileID: 0}
- target: {fileID: -927199367670048503, guid: 2546986dc670845a9959f8aa49836001,
type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 2546986dc670845a9959f8aa49836001,
type: 3}
propertyPath: m_LocalPosition.x
......@@ -37726,6 +37756,11 @@ PrefabInstance:
propertyPath: m_Name
value: cattle_lowpoly (4)
objectReference: {fileID: 0}
- target: {fileID: -927199367670048503, guid: 2546986dc670845a9959f8aa49836001,
type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 2546986dc670845a9959f8aa49836001,
type: 3}
propertyPath: m_LocalPosition.x
......@@ -38367,9 +38402,9 @@ AudioSource:
m_Enabled: 1
serializedVersion: 4
OutputAudioMixerGroup: {fileID: 0}
m_audioClip: {fileID: 8300000, guid: da1ebcdb074454e4a8beed482e245b23, type: 3}
m_audioClip: {fileID: 8300000, guid: d1b4e9248ba884beea9d9a1041d75076, type: 3}
m_PlayOnAwake: 1
m_Volume: 0.14
m_Volume: 0.146
m_Pitch: 1
Loop: 0
Mute: 0
......@@ -39538,7 +39573,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
prefab: {fileID: 0}
cowDestroyed: 0
cowLife: 15
cowLife: 30
--- !u!114 &1919234792
MonoBehaviour:
m_ObjectHideFlags: 0
......@@ -40754,7 +40789,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
prefab: {fileID: 0}
cowDestroyed: 0
cowLife: 15
cowLife: 20
--- !u!1001 &1957726938
PrefabInstance:
m_ObjectHideFlags: 0
......@@ -42048,6 +42083,11 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1430635433875271716, guid: 0f159601062464c00a9b6972d444269f,
type: 3}
propertyPath: startDelay.scalar
value: 19
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 0f159601062464c00a9b6972d444269f, type: 3}
--- !u!1001 &2024694051
......@@ -44727,6 +44767,11 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1430635433875271716, guid: 0f159601062464c00a9b6972d444269f,
type: 3}
propertyPath: startDelay.scalar
value: 29
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 0f159601062464c00a9b6972d444269f, type: 3}
--- !u!1 &2124792275
......@@ -27,9 +27,10 @@ public class cowController : MonoBehaviour
{
Invoke("destroyCow", cowLife);
cowDestroyed = true;
Invoke("cowAlert1", 11f);
Invoke("cowAlert2", 13.5f);
float invokeOne = (cowLife - 4f);
float invokeTwo = (cowLife - 1.5f);
Invoke("cowAlert1", invokeOne);
Invoke("cowAlert2", invokeTwo);
}
}
......
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class insertCow1 : MonoBehaviour
{
[SerializeField] float activateTime = 10f;
// Start is called before the first frame update
void Start()
{
insertCow();
}
public void insertCow()
{
Invoke("activate", activateTime);
}
public void activate()
{
gameObject.SetActive(true);
}
// Update is called once per frame
void Update()
{
}
}
fileFormatVersion: 2
guid: 91aa742e3e37141f4a996d709a46c025
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment