mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-16 16:34:41 +01:00
23 lines
388 B
C#
23 lines
388 B
C#
using UnityEngine;
|
|
|
|
namespace MoleMole
|
|
{
|
|
public abstract class MonoLightShadow : MonoBehaviour
|
|
{
|
|
public AnimationCurve attenuateCurve = AnimationCurve.Linear(0f, 1f, 1f, 0f);
|
|
|
|
public Vector3 XZPosition
|
|
{
|
|
get
|
|
{
|
|
return new Vector3(base.transform.position.x, 0f, base.transform.position.z);
|
|
}
|
|
}
|
|
|
|
public virtual float Evaluate(Vector3 pos)
|
|
{
|
|
return 0f;
|
|
}
|
|
}
|
|
}
|