﻿// Decompiled with JetBrains decompiler
// Type: WBUIAnimButtonController
// Assembly: Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 19851F1B-4780-4223-BA01-2C20F2CD781E
// Assembly location: C:\Users\CGA Computer\Desktop\LEGO Universe Stuff\LOCO Server\Unity Web Player Extractor\Saved Files\LOCO Server.unity3d_unpacked\Assembly-CSharp.dll

using System;
using UnityEngine;

[FlashImportComponent]
public class WBUIAnimButtonController : MonoBehaviour
{
  public WBUIAnimButtonController()
  {
    base.\u002Ector();
  }

  private void Awake()
  {
    if (!Application.get_isPlaying())
      return;
    foreach (WBUIButton wbuiButton in (WBUIButton[]) ((Component) this).GetComponentsInChildren<WBUIButton>())
    {
      if (Object.op_Inequality((Object) wbuiButton, (Object) null))
        wbuiButton.SetReturnParentForAnimations((Func<GameObject>) (() => ((Component) this).get_gameObject()));
    }
  }
}
