internal override void NotifyEnvironmentChanged(EnvironmentChanges change) { if ((change & EnvironmentChanges.ParentReassigned) > 0) { m_Bounds = RectangleF.Empty; // bounds collapses if parent is group } }
internal override void NotifyEnvironmentChanged(EnvironmentChanges change) { base.NotifyEnvironmentChanged(change); foreach (Shape shape in Contents) { shape.NotifyEnvironmentChanged(change); } }
// Use this for initialization void Start() { //Initializes on start up to listen for messages //make sure this game object has both UDPPackIO and OSC script attached stackOfRates = new float[500]; //The scripts that will do the changes playerChanges = GameObject.FindWithTag("PlayerChange").GetComponent <PlayerChanges>(); envChanges = GameObject.FindWithTag("EnvChange").GetComponent <EnvironmentChanges>(); UDPPacketIO udp = GetComponent <UDPPacketIO>(); udp.init(RemoteIP, SendToPort, ListenerPort); handler = GetComponent <Osc>(); handler.init(udp); handler.SetAllMessageHandler(AllMessageHandler); }
// Use this for initialization void Start() { //Initializes on start up to listen for messages //make sure this game object has both UDPPackIO and OSC script attached stackOfRates = new float[500]; //The scripts that will do the changes playerChanges = GameObject.FindWithTag("PlayerChange").GetComponent<PlayerChanges>(); envChanges = GameObject.FindWithTag("EnvChange").GetComponent<EnvironmentChanges>(); UDPPacketIO udp = GetComponent<UDPPacketIO>(); udp.init(RemoteIP, SendToPort, ListenerPort); handler = GetComponent<Osc>(); handler.init(udp); handler.SetAllMessageHandler(AllMessageHandler); }
internal override void NotifyEnvironmentChanged(EnvironmentChanges change) { base.NotifyEnvironmentChanged(change); MaskShape.NotifyEnvironmentChanged(change); Image.NotifyEnvironmentChanged(change); }
internal override void NotifyEnvironmentChanged(EnvironmentChanges change) { Element?.NotifyEnvironmentChanged(change); }