16 lines
329 B
C#
16 lines
329 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using InfallibleCode;
|
|
|
|
public class ChangeKeyForKeyHole : MonoBehaviour
|
|
{
|
|
public KeyHole targetKeyHole;
|
|
public KeyPickup newkeyPickup;
|
|
|
|
public void ChangeKeyInTargetKeyHole()
|
|
{
|
|
targetKeyHole.KeyPickup = newkeyPickup;
|
|
}
|
|
}
|