mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-12 22:44:35 +01:00
22 lines
369 B
C#
22 lines
369 B
C#
using UnityEngine;
|
|
|
|
namespace MoleMole
|
|
{
|
|
[DisallowMultipleComponent]
|
|
public class FloorReflection : ReflectionBase
|
|
{
|
|
public float floorHeight;
|
|
|
|
protected override void Awake()
|
|
{
|
|
base.Awake();
|
|
_reflectionPlanePosition = Vector3.up * floorHeight;
|
|
}
|
|
|
|
protected override void Update()
|
|
{
|
|
_reflectionPlanePosition = Vector3.up * floorHeight;
|
|
}
|
|
}
|
|
}
|