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(); } // Update is called once per frame void Update() { } }