Пример #1
0
    void Start()
    {
        SkyManager skyManager = FindObjectOfType <SkyManager> ();

        callTripod = new EventName(CALL_TRIPOD);
        EventManager.StartListening(callTripod, SendTripod);
        skyManager.AddNightCallBack(new object[] { callTripod, new object[] { } });
    }
Пример #2
0
 void AddSkyCallBacks()
 {
     skyManager.AddDayCallBack(new object[] { musicTheme, new object[] { 0 } });
     skyManager.AddNightCallBack(new object[] { musicTheme, new object[] { 1 } });
 }