Exemple #1
0
    public void ResetEditorModel()
    {
        animator           = null;
        animationTime      = 0.2f;
        invokeIntervalTime = 0.5f;
        int count = m_animationClick.GetPersistentEventCount();

        for (int i = 0; i < count; i++)
        {
            UnityEditor.Events.UnityEventTools.RemovePersistentListener(m_animationClick, 0);
        }
    }