void OnEnable() { if (receiver == null) { receiver = target as Spout2Receiver; Spout2.addListener(texShared, senderStopped); updateOptions(); } //Debug.Log ("Enable popup Index : "+popupIndex); }
void Start() { Spout2.addListener(texShared, texStopped); }