void OnEnable()
    {
        if (receiver == null)
        {
            receiver = target as Spout2Receiver;
            Spout2.addListener(texShared, senderStopped);

            updateOptions();
        }

        //Debug.Log ("Enable popup Index : "+popupIndex);
    }
Ejemplo n.º 2
0
 void Start()
 {
     Spout2.addListener(texShared, texStopped);
 }