internal static void Open(HGL_AnimationClip clip) { if (clip != null) { addActionsMenuProperties = null; GetWindow <HGL_WindowClipMakerEditor>("Clip Maker"); Controller.Clip = clip; Controller.SavePath = AssetDatabase.GetAssetPath(clip); Debug.Log(string.Format("Window clip was opened; TimeDuration: {0}", clip.TimeDuration)); } }
public void OnEnable() { m_target = (HGL_AnimationClip)target; }