Skip to content

Instantly share code, notes, and snippets.

View Deadcows's full-sized avatar
🙆‍♂️
Work Work Work

Andrew Rumak Deadcows

🙆‍♂️
Work Work Work
View GitHub Profile
@Deadcows
Deadcows / VolumeMapping.cs
Created August 7, 2024 14:52
VolumeMapping component to animate PostProcessing through timeline
using System;
using MyBox;
using Sirenix.OdinInspector;
using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.Rendering.Universal;
namespace Gameplay
{
[Serializable]
@Deadcows
Deadcows / CustomTaskExample.cs
Created July 17, 2024 11:23
BehaviourDesigner – Manual Error Checking for Custom Tasks
public class CustomTaskExample : Action, ITaskWithErrorCheck
{
public bool ShowError = true;
#if UNITY_EDITOR
public CustomTaskExample() => this.RegisterErrorCheck();
public bool AnyErrorInTask() => ShowError;
#endif
}