fixed camera system and brightened recipticles
This commit is contained in:
@ -18,7 +18,7 @@ public class DoorInteractable : HeavyItemReceiver
|
||||
|
||||
public bool Powered { get { return this.insertedCore!= null; } }
|
||||
[SerializeField]
|
||||
private Animator anim;
|
||||
private Animator[] anims;
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
@ -28,7 +28,11 @@ public class DoorInteractable : HeavyItemReceiver
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
anim.SetBool("IsPowered", Powered);
|
||||
foreach(Animator anim in anims)
|
||||
{
|
||||
anim.SetBool("IsPowered", Powered);
|
||||
}
|
||||
|
||||
}
|
||||
public override bool Interact()
|
||||
{
|
||||
|
Reference in New Issue
Block a user