Skip to content

Instantly share code, notes, and snippets.

Shader "Custom/SquareOutline"
{
Properties
{
_Color ("Tint Color", Color) = (1,1,1,1)
_MainTex ("Texture", 2D) = "white" {}
_BorderThickness ("Falloff", Range(0.0, 2.0)) = 0.1
}
SubShader
using System;
using Simulation.Data;
using UnityEngine.AddressableAssets;
using UnityEngine.ResourceManagement.AsyncOperations;
namespace Game.AssetLoading
{
public interface IAssetLoadService
{
void LoadAsset<T>(AssetType assetType, EntityType entityType, Action<T> onLoadedCallback);