예제 #1
0
 public GUIStyleState(GUIStyleState copy)
 {
     Background        = copy.Background;
     TextColor         = copy.TextColor;
     ScaledBackgrounds = new PPtr <Texture2D> [copy.ScaledBackgrounds.Length];
     for (int i = 0; i < copy.ScaledBackgrounds.Length; i++)
     {
         ScaledBackgrounds[i] = copy.ScaledBackgrounds[i];
     }
 }
예제 #2
0
 public GUIStyleState(GUIStyleState copy)
 {
     Background          = copy.Background;
     TextColor           = copy.TextColor;
     m_scaledBackgrounds = new PPtr <Texture2D> [copy.ScaledBackgrounds.Count];
     for (int i = 0; i < copy.ScaledBackgrounds.Count; i++)
     {
         m_scaledBackgrounds[i] = copy.ScaledBackgrounds[i];
     }
 }