コード例 #1
0
    // 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;
    }
コード例 #2
0
    // 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;
    }
コード例 #3
0
 public CatController(IConfiguration configuration, CatInterface CatInterfaceImplement)
 {
     _CatInterfaceImplement = CatInterfaceImplement;
     _config = configuration;
 }
コード例 #4
0
 // Use this for initialization
 void Start()
 {
     cat = GetComponent <CatInterface>();
 }
コード例 #5
0
 // Use this for initialization
 void Start()
 {
     cat = GetComponent<CatInterface>();
 }