26 lines
447 B
C#
26 lines
447 B
C#
|
using System;
|
||
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using BITKit;
|
||
|
using UnityEngine;
|
||
|
|
||
|
namespace BITFALL.Props
|
||
|
{
|
||
|
public class Prop_ScopeMeshComponent : MonoBehaviour
|
||
|
{
|
||
|
public static readonly CacheList<Prop_ScopeMeshComponent> List = new();
|
||
|
|
||
|
public Shader overrideShader;
|
||
|
internal bool IsInitialized;
|
||
|
|
||
|
private void OnEnable()
|
||
|
{
|
||
|
List.Add(this);
|
||
|
}
|
||
|
private void OnDisable()
|
||
|
{
|
||
|
List.Remove(this);
|
||
|
}
|
||
|
}
|
||
|
}
|