added animation package and made small changes
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b75be9cf20a73634ab624c197c569ece
|
||||
folderAsset: yes
|
||||
timeCreated: 1497335757
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,320 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 8a3bdb2cd68f901469e7cc149151eb49, type: 3}
|
||||
m_Name: Gravity Clock (UVFX)
|
||||
m_EditorClassIdentifier:
|
||||
debugViews:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
mode: 0
|
||||
depth:
|
||||
scale: 1
|
||||
motionVectors:
|
||||
sourceOpacity: 1
|
||||
motionImageOpacity: 0
|
||||
motionImageAmplitude: 16
|
||||
motionVectorsOpacity: 1
|
||||
motionVectorsResolution: 24
|
||||
motionVectorsAmplitude: 64
|
||||
fog:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
excludeSkybox: 1
|
||||
antialiasing:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
method: 0
|
||||
fxaaSettings:
|
||||
preset: 2
|
||||
taaSettings:
|
||||
jitterSpread: 0.75
|
||||
sharpen: 0.3
|
||||
stationaryBlending: 0.95
|
||||
motionBlending: 0.85
|
||||
ambientOcclusion:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
intensity: 1
|
||||
radius: 0.3
|
||||
sampleCount: 10
|
||||
downsampling: 1
|
||||
forceForwardCompatibility: 0
|
||||
ambientOnly: 0
|
||||
highPrecision: 0
|
||||
screenSpaceReflection:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
reflection:
|
||||
blendType: 0
|
||||
reflectionQuality: 2
|
||||
maxDistance: 100
|
||||
iterationCount: 256
|
||||
stepSize: 3
|
||||
widthModifier: 0.5
|
||||
reflectionBlur: 1
|
||||
reflectBackfaces: 0
|
||||
intensity:
|
||||
reflectionMultiplier: 1
|
||||
fadeDistance: 100
|
||||
fresnelFade: 1
|
||||
fresnelFadePower: 1
|
||||
screenEdgeMask:
|
||||
intensity: 0.03
|
||||
depthOfField:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
focusDistance: 10
|
||||
aperture: 5.6
|
||||
focalLength: 50
|
||||
useCameraFov: 0
|
||||
kernelSize: 1
|
||||
motionBlur:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
shutterAngle: 270
|
||||
sampleCount: 10
|
||||
frameBlending: 0
|
||||
eyeAdaptation:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
lowPercent: 45
|
||||
highPercent: 95
|
||||
minLuminance: -5
|
||||
maxLuminance: 1
|
||||
keyValue: 0.25
|
||||
dynamicKeyValue: 1
|
||||
adaptationType: 0
|
||||
speedUp: 2
|
||||
speedDown: 1
|
||||
logMin: -8
|
||||
logMax: 4
|
||||
bloom:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
bloom:
|
||||
intensity: 0.5
|
||||
threshold: 0.4
|
||||
softKnee: 1
|
||||
radius: 7
|
||||
antiFlicker: 1
|
||||
lensDirt:
|
||||
texture: {fileID: 0}
|
||||
intensity: 3
|
||||
colorGrading:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
tonemapping:
|
||||
tonemapper: 2
|
||||
neutralBlackIn: 0.0222
|
||||
neutralWhiteIn: 10
|
||||
neutralBlackOut: 0
|
||||
neutralWhiteOut: 10
|
||||
neutralWhiteLevel: 5.3
|
||||
neutralWhiteClip: 10
|
||||
basic:
|
||||
postExposure: 1
|
||||
temperature: -26.9
|
||||
tint: -19.2
|
||||
hueShift: 2
|
||||
saturation: 0.752
|
||||
contrast: 1.22
|
||||
channelMixer:
|
||||
red: {x: 1, y: 0, z: 0}
|
||||
green: {x: 0, y: 1, z: 0}
|
||||
blue: {x: 0, y: 0, z: 1}
|
||||
currentEditingChannel: 0
|
||||
colorWheels:
|
||||
mode: 1
|
||||
log:
|
||||
slope: {r: 1, g: 0.8373763, b: 0.67840683, a: 0}
|
||||
power: {r: 0.7642237, g: 0.7756402, b: 1, a: 0.07430341}
|
||||
offset: {r: 0.9950955, g: 0.7115995, b: 1, a: 0.049535602}
|
||||
linear:
|
||||
lift: {r: 0, g: 0, b: 0, a: 0}
|
||||
gamma: {r: 0, g: 0, b: 0, a: 0}
|
||||
gain: {r: 0, g: 0, b: 0, a: 0}
|
||||
curves:
|
||||
master:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 2
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
- serializedVersion: 2
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 0
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
red:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 2
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
- serializedVersion: 2
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
green:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 2
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
- serializedVersion: 2
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
blue:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 2
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
- serializedVersion: 2
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
hueVShue:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 1
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
hueVSsat:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 1
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
satVSsat:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
lumVSsat:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
e_CurrentEditingCurve: 0
|
||||
e_CurveY: 1
|
||||
e_CurveR: 0
|
||||
e_CurveG: 0
|
||||
e_CurveB: 0
|
||||
userLut:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
lut: {fileID: 0}
|
||||
contribution: 1
|
||||
chromaticAberration:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
spectralTexture: {fileID: 0}
|
||||
intensity: 0.1
|
||||
grain:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
colored: 1
|
||||
intensity: 0.5
|
||||
size: 1
|
||||
luminanceContribution: 0.8
|
||||
vignette:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
mode: 0
|
||||
color: {r: 0, g: 0, b: 0, a: 1}
|
||||
center: {x: 0.5, y: 0.5}
|
||||
intensity: 0.45
|
||||
smoothness: 0.2
|
||||
roundness: 1
|
||||
mask: {fileID: 0}
|
||||
opacity: 1
|
||||
rounded: 0
|
||||
dithering:
|
||||
m_Enabled: 0
|
||||
monitors:
|
||||
currentMonitorID: 0
|
||||
refreshOnPlay: 0
|
||||
histogramMode: 3
|
||||
waveformExposure: 0.12
|
||||
waveformY: 0
|
||||
waveformR: 1
|
||||
waveformG: 1
|
||||
waveformB: 1
|
||||
paradeExposure: 0.12
|
||||
vectorscopeExposure: 0.12
|
||||
vectorscopeShowBackground: 1
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d7c54fb01631fd2439044e284d4ec9e1
|
||||
timeCreated: 1497335779
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 074ef3677059c9f48864e7a5113c4dc8
|
||||
folderAsset: yes
|
||||
timeCreated: 1497334193
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d21c0d160ec04c4439f85eea4c089d37
|
||||
timeCreated: 1493513740
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 100100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cc9a540707bf6a243b41f1723188c94c
|
||||
folderAsset: yes
|
||||
timeCreated: 1497334193
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d90e02f191aec924b900650e79c71956
|
||||
timeCreated: 1493499737
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: df50e353cfe1dac47892f95876e28f0a
|
||||
folderAsset: yes
|
||||
timeCreated: 1497334193
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,91 @@
|
||||
|
||||
// =================================
|
||||
// Namespaces.
|
||||
// =================================
|
||||
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
// =================================
|
||||
// Define namespace.
|
||||
// =================================
|
||||
|
||||
namespace MirzaBeig
|
||||
{
|
||||
|
||||
namespace Demos
|
||||
{
|
||||
|
||||
namespace ParticlePlayground
|
||||
{
|
||||
|
||||
// =================================
|
||||
// Classes.
|
||||
// =================================
|
||||
|
||||
public class BillboardCameraPlaneUVFX : MonoBehaviour
|
||||
{
|
||||
// =================================
|
||||
// Nested classes and structures.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
// =================================
|
||||
// Variables.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
Transform cameraTransform;
|
||||
|
||||
// =================================
|
||||
// Functions.
|
||||
// =================================
|
||||
|
||||
void Awake()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
void Start()
|
||||
{
|
||||
cameraTransform = Camera.main.transform;
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
void Update()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
void LateUpdate()
|
||||
{
|
||||
transform.forward = -cameraTransform.forward;
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End functions.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End namespace.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// --END-- //
|
||||
// =================================
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 68dcc51f4e150cd4ab04febbff3abf83
|
||||
timeCreated: 1475038359
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,128 @@
|
||||
|
||||
// =================================
|
||||
// Namespaces.
|
||||
// =================================
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
// =================================
|
||||
// Define namespace.
|
||||
// =================================
|
||||
|
||||
namespace MirzaBeig
|
||||
{
|
||||
|
||||
namespace Demos
|
||||
{
|
||||
|
||||
namespace Wallpapers
|
||||
{
|
||||
|
||||
// =================================
|
||||
// Classes.
|
||||
// =================================
|
||||
|
||||
public class GravityClockInteractivityUVFX : MonoBehaviour
|
||||
{
|
||||
// =================================
|
||||
// Nested classes and structures.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
// =================================
|
||||
// Variables.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
public GameObject forceAffectors;
|
||||
public GameObject forceAffectors2;
|
||||
|
||||
public ParticleSystem gravityClockPrefab;
|
||||
|
||||
ParticleSystem gravityClock;
|
||||
|
||||
public bool enableGravityClockVisualEffects = true;
|
||||
public bool enableGravityClockAttractionForce = true;
|
||||
|
||||
// =================================
|
||||
// Functions.
|
||||
// =================================
|
||||
|
||||
void Awake()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
public void SetGravityClockVisualEffectsActive(bool value)
|
||||
{
|
||||
if (value)
|
||||
{
|
||||
if (enableGravityClockVisualEffects)
|
||||
{
|
||||
gravityClock = Instantiate(gravityClockPrefab, transform);
|
||||
gravityClock.transform.localPosition = Vector3.zero;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (gravityClock)
|
||||
{
|
||||
gravityClock.Stop();
|
||||
gravityClock.transform.SetParent(null, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
public void SetGravityClockAttractionForceActive(bool value)
|
||||
{
|
||||
if (value)
|
||||
{
|
||||
if (enableGravityClockAttractionForce)
|
||||
{
|
||||
forceAffectors.gameObject.SetActive(true);
|
||||
forceAffectors2.gameObject.SetActive(true);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
forceAffectors.gameObject.SetActive(false);
|
||||
forceAffectors2.gameObject.SetActive(false);
|
||||
}
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End functions.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End namespace.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// --END-- //
|
||||
// =================================
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2c1ff5208a739eb4d8ff3bac715e91e6
|
||||
timeCreated: 1475038359
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user