Esempio n. 1
0
    public void OnEnable()
    {
        errorStyle.normal.textColor = Color.red;
        obj = target as SnailMarker3AnimationCreator;

        if (!findAvatarAndAnimationPath(obj.transform))
        {
            return;
        }
        findComponents();
    }
    public void OnEnable()
    {
        errorStyle.normal.textColor = Color.red;
        obj = target as SnailMarker3AnimationCreator;

        if (!findAvatarAndAnimationPath(obj.transform))
        {
            return;
        }
        findComponents();
        versionStyle           = GUIStyle.none;
        versionStyle.padding   = new RectOffset(10, 10, 10, 10);
        versionStyle.alignment = TextAnchor.MiddleCenter;
    }