protected virtual void OnAlphaTexModified(D2D_Rect rect) { #if UNITY_EDITOR if (Application.isPlaying == false) { return; } #endif CheckFixtures(); }
private void NotifyChanges(int xMin, int xMax, int yMin, int yMax) { var rect = new D2D_Rect(); rect.XMin = xMin; rect.XMax = xMax; rect.YMin = yMin; rect.YMax = yMax; D2D_Helper.BroadcastMessage(transform, "OnAlphaTexModified", rect, SendMessageOptions.DontRequireReceiver); }
protected virtual void OnAlphaTexModified(D2D_Rect rect) { RebuildColliders(rect.XMin, rect.XMax, rect.YMin, rect.YMax); }