24 lines
488 B
C#
24 lines
488 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class ObjectManager : MonoBehaviour
|
|
{
|
|
public enum ObjectType {Nothing, Door, PushPull, Drag, Ladder};
|
|
public ObjectType objectType = ObjectType.Nothing;
|
|
private Rigidbody rigidBody;
|
|
|
|
|
|
// Start is called before the first frame update
|
|
void Start()
|
|
{
|
|
rigidBody = GetComponent<Rigidbody>();
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
}
|