示例#1
0
 protected virtual void OnAlphaTexModified(D2D_Rect rect)
 {
     #if UNITY_EDITOR
     if (Application.isPlaying == false)
     {
         return;
     }
     #endif
     CheckFixtures();
 }
示例#2
0
    protected virtual void OnAlphaTexModified(D2D_Rect rect)
    {
#if UNITY_EDITOR
        if (Application.isPlaying == false)
        {
            return;
        }
#endif
        CheckFixtures();
    }
示例#3
0
    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);
    }
示例#4
0
    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);
    }
示例#5
0
 protected virtual void OnAlphaTexModified(D2D_Rect rect)
 {
     RebuildColliders(rect.XMin, rect.XMax, rect.YMin, rect.YMax);
 }
示例#6
0
 protected virtual void OnAlphaTexModified(D2D_Rect rect)
 {
     RebuildColliders(rect.XMin, rect.XMax, rect.YMin, rect.YMax);
 }