post processing script
This commit is contained in:
parent
53c0ed8ea3
commit
c484f49224
|
|
@ -607,6 +607,7 @@ GameObject:
|
|||
m_Component:
|
||||
- component: {fileID: 1404010314325821530}
|
||||
- component: {fileID: 4103352589331584694}
|
||||
- component: {fileID: 313212884350892521}
|
||||
m_Layer: 21
|
||||
m_Name: PPVolume
|
||||
m_TagString: Untagged
|
||||
|
|
@ -646,6 +647,18 @@ MonoBehaviour:
|
|||
blendDistance: 0
|
||||
weight: 1
|
||||
priority: 0
|
||||
--- !u!114 &313212884350892521
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5636869531616399768}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: e3cc0a4bae0c56540b9f598f4644539c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1 &6052331674005083371
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -955,7 +968,7 @@ RectTransform:
|
|||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 1, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 0.0000009536743, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 2, y: 12}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &7734333607666534753
|
||||
|
|
|
|||
19
Assets/Scripts/PostProcessingVFX.cs
Normal file
19
Assets/Scripts/PostProcessingVFX.cs
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Rendering.PostProcessing;
|
||||
|
||||
public class PostProcessingVFX : MonoBehaviour
|
||||
{
|
||||
private PostProcessVolume _volume;
|
||||
|
||||
// events
|
||||
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
_volume = GetComponent<PostProcessVolume>();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
11
Assets/Scripts/PostProcessingVFX.cs.meta
Normal file
11
Assets/Scripts/PostProcessingVFX.cs.meta
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: e3cc0a4bae0c56540b9f598f4644539c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Loading…
Reference in a new issue