// Use this for initialization private void Start() { if(am == null) am = GameObject.Find("AudioManager").GetComponent<AudioManager>(); cat = GetComponent<ShittyCat>(); cat = GetComponent<CatInterface>(); myoCtrl._WaveLeft += OnWaveLeft; myoCtrl._WaveCenter += OnWaveCenter; myoCtrl._WaveRight += OnWaveRight; }
// Use this for initialization private void Start() { if (am == null) { am = GameObject.Find("AudioManager").GetComponent <AudioManager>(); } cat = GetComponent <ShittyCat>(); cat = GetComponent <CatInterface>(); myoCtrl._WaveLeft += OnWaveLeft; myoCtrl._WaveCenter += OnWaveCenter; myoCtrl._WaveRight += OnWaveRight; }
public CatController(IConfiguration configuration, CatInterface CatInterfaceImplement) { _CatInterfaceImplement = CatInterfaceImplement; _config = configuration; }
// Use this for initialization void Start() { cat = GetComponent <CatInterface>(); }
// Use this for initialization void Start() { cat = GetComponent<CatInterface>(); }