18 lines
381 B
C#
18 lines
381 B
C#
using UnityEngine;
|
|
|
|
public class PlayerFlashlightAccessable : MonoBehaviour
|
|
{
|
|
public Transform FlashlightSpotLightPosition;
|
|
|
|
private static PlayerFlashlightAccessable _instance;
|
|
public static PlayerFlashlightAccessable GetInstance() { return _instance; }
|
|
|
|
private void Awake()
|
|
{
|
|
if (!_instance)
|
|
{
|
|
_instance = this;
|
|
}
|
|
}
|
|
}
|