public override void OnInspectorGUI() { base.OnInspectorGUI(); if (t == null) { t = target as AnimationControler; } if (t.armature == null) { t.armature = t.GetComponent <UnityArmatureComponent>(); } // Test(); ActionButton(); }