33 lines
626 B
C#
33 lines
626 B
C#
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
public class HeavyInteractableItem : InteractableItem
|
||
|
{
|
||
|
// Start is called before the first frame update
|
||
|
void Start()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
// Update is called once per frame
|
||
|
void Update()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
public void DisableAll()
|
||
|
{
|
||
|
this.GetComponent<Collider>().enabled = false;
|
||
|
}
|
||
|
public void EnableAll()
|
||
|
{
|
||
|
this.GetComponent<Collider>().enabled = true;
|
||
|
}
|
||
|
|
||
|
private void FixedUpdate()
|
||
|
{
|
||
|
BaseFixedUpdate();
|
||
|
//print("Alpha Target:"+ base.target_alpha);
|
||
|
}
|
||
|
}
|