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

            updateOptions();
        }

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