// Curved World // Copyright (c) Amazing Assets using UnityEngine; #if USE_INPUT_SYSTEM && ENABLE_INPUT_SYSTEM using UnityEngine.InputSystem; #endif namespace AmazingAssets.CurvedWorld.Examples { public class SwitchInput : MonoBehaviour { public GameObject InputStandard; public GameObject InputNew; private void Awake() { #if USE_INPUT_SYSTEM && ENABLE_INPUT_SYSTEM Instantiate(InputNew); #else Instantiate(InputStandard); #endif } } }