Example #1
0
    protected void Init()
    {
        m_Instance.minSize = new Vector2(WINDOW_MIN_WIDTH, WINDOW_MIN_HIEGHT);

        if (null != m_ActionFrameData)
        {
            m_fTime  = (float)m_ActionFrameData.Time;
            m_Config = m_ActionFrameData.FuncMethodFrame;
        }
        else
        {
            m_ActionFrameData = new ActionFrameData();
            m_Config          = new FuncMethodFrameConfig();
        }
    }
 public FuncMethodFrame(ActionPlayer action, ActionFrameData data)
     : base(action, data)
 {
     m_Config = m_FrameData.FuncMethodFrame;
 }