16 lines
354 B
C#
16 lines
354 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class KeyPanelLockable : Lockable
|
|
{
|
|
Material material;
|
|
public override void StartUnlock(){
|
|
material = GetComponent<MeshRenderer>().material;
|
|
material.color = Color.green;
|
|
}
|
|
public override void FailedUnlock(){
|
|
return;
|
|
}
|
|
}
|