mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-16 08:25:20 +01:00
29 lines
584 B
C#
29 lines
584 B
C#
using System;
|
|
using MoleMole.Config;
|
|
using UnityEngine;
|
|
|
|
namespace MoleMole
|
|
{
|
|
public abstract class BaseInstancedRenderingProperty : IDisposable
|
|
{
|
|
public Material material;
|
|
|
|
public int propertyID;
|
|
|
|
public abstract BaseRenderingProperty CreateBaseRenderingProperty(string name);
|
|
|
|
public abstract void ApplyProperty();
|
|
|
|
public abstract void LerpStep(float t);
|
|
|
|
public abstract void SetupTransition(BaseRenderingProperty target);
|
|
|
|
public abstract void CopyFrom(BaseRenderingProperty target);
|
|
|
|
public void Dispose()
|
|
{
|
|
UnityEngine.Object.Destroy(material);
|
|
}
|
|
}
|
|
}
|