-
Awake()
- κ°μ₯ λ¨Όμ μ€νλ¨
GameObjectκ° νμ±ν(active = true) μνκ° μλμ΄λ μ€νλ¨DontDestroyOnLoad()μ€μ κ°λ₯
-
OnEnable()
GameObjectλλComponentκ° νμ±νλ λ μ€νλ¨
| Shader "Unlit/BlurEffectLegacy" | |
| { | |
| Properties | |
| { | |
| _MainTex ("Texture", 2D) = "white" {} | |
| _Amount ("Downscale Amount", Range(1, 10)) = 2 // Downscale | |
| } | |
| SubShader | |
| { | |
| Tags { "RenderType"="Opaque" } |
| // This file is in the public domain. Where | |
| // a public domain declaration is not recognized, you are granted | |
| // a license to freely use, modify, and redistribute this file in | |
| // any way you choose. | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| // Unity remake of a fake volumetric light glow effect |
| // μλ³Έ URL | |
| https://answers.unrealengine.com/questions/242407/renaming-a-c-project.html | |
| // μ£Όμλ΄μ© μ€ν¬λ© | |
| This example is for creating a copy of OldName called NewName. I'd recommend doing this as a duplication process if at all possible, in case there are issues during the rename. | |
| 1. Duplicate the OldName project folder. Rename the duplicate folder to NewName. | |
| 2. Open the NewName folder. |