Skip to content

Instantly share code, notes, and snippets.

View Nobuyuki-Kobayashi's full-sized avatar

Nobuyuki Kobayashi Nobuyuki-Kobayashi

  • Unity Technologies Japan
  • Japan
View GitHub Profile
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
namespace UnityChan
{
public class CopyMaterialParameter : EditorWindow
{
[SerializeField]
@Nobuyuki-Kobayashi
Nobuyuki-Kobayashi / PostEffectMaskRendererHelper.cs
Created April 18, 2018 15:54
Unity : PostEffectMaskRendererHelper.cs
// This is the helper script for PostEffectMaskRenderer.cs and attaches "MainCamera(with PostEffectMask)"
// to the "Mask" property of Post Effect Mask Renderer component.
// Attach to the gameobject with Post Effect Mask Renderer component.
//
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(PostEffectMaskRenderer))]
@Nobuyuki-Kobayashi
Nobuyuki-Kobayashi / BeautifyDOFHelper.cs
Created April 18, 2018 15:49
Unity:BeautifyDOFHelper.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using BeautifyEffect;
public class BeautifyDOFHelper : MonoBehaviour {
public Transform dOFtarget;
GameObject mainCamera;
Beautify beautify;
@Nobuyuki-Kobayashi
Nobuyuki-Kobayashi / SetShadowQuality.cs
Last active February 22, 2024 02:53
Unity:QualitySettings/Shadows内のShadow Distance/Shadow Cascades/Cascade splitsなどをシーンから設定する.
//
// QualitySettings/Shadows内のShadow Distance/Shadow Cascades/Cascade splitsをシーンから設定する.
//
//
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace UnityChan
{