コード例 #1
0
 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));
     }
 }
コード例 #2
0
 public void OnEnable()
 {
     m_target = (HGL_AnimationClip)target;
 }