Example #1
0
    void Awake()
    {
        Instance     = this;
        _orderedPids = new List <int>();
        AugmentaCam  = transform.Find("AugmentaCamera").GetComponent <Camera>();
        AspectRatio  = 1;

        Debug.Log("[Augmenta] Subscribing to OSC Message Receiver");

        OSCMaster.messageAvailable += OSCMessageReceived; // TODO : Remove link to OCF

        augmentaScene = new AugmentaScene();

        StopAllCoroutines();
        // Start the coroutine that check if everyone is alive
        StartCoroutine("checkAlive");

        overlays = FindObjectsOfType <TestCards.TestOverlay>();
        AugmentaDebugger.gameObject.SetActive(AugmentaDebug);
        AugmentaDebugger.Transparency = DebugTransparency;
    }
 public virtual void SceneUpdated(AugmentaScene s)
 {
 }