void Start() { UIManager = UIManager.UIM; AudioManager = AudioManager.AM; fuelManager = gameObject.GetComponent <fuel>(); ClickDrag = gameObject.GetComponent <ClickDrag>(); }
void Start() { controller = GameObject.FindGameObjectWithTag("GameController").GetComponent <ClickDrag>(); }
void Start() { ClickDrag = PlayerManager.PM.gameObject.GetComponent <ClickDrag>(); }