20 lines
395 B
C#
20 lines
395 B
C#
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
public class PowerArtefactControl : ArtefactControl
|
||
|
{
|
||
|
[SerializeField] private PlayerPower _power;
|
||
|
|
||
|
protected override void PickUp(int id)
|
||
|
{
|
||
|
if (_canInteract == true)
|
||
|
{
|
||
|
_power.Unlock();
|
||
|
Debug.Log("overrided physical");
|
||
|
}
|
||
|
base.PickUp(id);
|
||
|
|
||
|
}
|
||
|
}
|