This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma kernel Downscale | |
| #pragma kernel GaussianBlurVertical | |
| #pragma kernel GaussianBlurHorizontal | |
| #pragma kernel BoxBlur | |
| Texture2D<float4> _Source; | |
| RWTexture2D<float4> _Dest; | |
| float _Amount; | |
| float2 _Size; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RedisSessionStore.logger = Rails.logger | |
| session_options = {:expire_after => 1.day, :key_prefix => 'sessions'} | |
| MultiSessionStore.stores[:plain] = [RedisSessionStore, session_options.merge(:key => '_session_id')] | |
| MultiSessionStore.stores[:secure] = [RedisSessionStore, session_options.merge(:key => '_secure_session_id', :secure => ['production', 'staging'].include?(Rails.env))] | |
| MultiSessionStore.default_store = :plain | |
| MultiSessionStore.routes = [ | |
| ['/admin', :secure], | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using UnityEngine.InputSystem; | |
| #if UNITY_EDITOR | |
| [UnityEditor.InitializeOnLoad] | |
| #endif | |
| public class OpposingKeyPressInteraction : IInputInteraction | |
| { | |
| public float HoldDuration = 0.15f; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| [RequireComponent(typeof(Animator))] | |
| public class FootIK : MonoBehaviour | |
| { | |
| [Header("Main")] | |
| [Range(0, 1)] public float Weight = 1f; | |
| [Header("Settings")] | |
| public float MaxStep = 0.5f; | |
| public float FootRadius = 0.15f; |