RepaintInspector() public static méthode

public static RepaintInspector ( ) : void
Résultat void
 private void CallbackHandler(object in_cookie, AkCallbackType in_type, object in_info)
 {
     if (in_type == AkCallbackType.AK_EndOfEvent)
     {
         var akEvent = in_cookie as AkEvent;
         UnityEngine.Debug.Log("RemoveAkEvent(): " + akEvent.gameObject.name);
         RemoveAkEvent(akEvent);
         AkUtilities.RepaintInspector();
     }
 }
    public static void Tick()
    {
        if (s_populateNow)
        {
            AkWwisePicker.treeView.SaveExpansionStatus();
            AutoPopulate();
            AkWwisePicker.PopulateTreeview();
            s_populateNow = false;

            //Make sure that the Wwise picker and the inspector are updated
            AkUtilities.RepaintInspector();
        }
    }
Exemple #3
0
    public static void Tick()
    {
        if (AkWwiseProjectInfo.GetData().autoPopulateEnabled&& DateTime.Now.Subtract(s_lastFileCheck).Seconds > s_SecondsBetweenChecks && !EditorApplication.isCompiling && !EditorApplication.isPlayingOrWillChangePlaymode)
        {
            AkWwisePicker.treeView.SaveExpansionStatus();
            if (AutoPopulate())
            {
                AkWwisePicker.PopulateTreeview();
                //Make sure that the Wwise picker and the inspector are updated
                AkUtilities.RepaintInspector();
            }

            s_lastFileCheck = DateTime.Now;
        }
    }
    private static void Tick()
    {
        isTicking = true;

        if (AkWwiseProjectInfo.GetData() != null)
        {
            if (System.DateTime.Now.Subtract(s_lastFileCheck).Seconds > s_SecondsBetweenChecks &&
                !UnityEditor.EditorApplication.isCompiling && !UnityEditor.EditorApplication.isPlayingOrWillChangePlaymode &&
                AkWwiseProjectInfo.GetData().autoPopulateEnabled)
            {
                AkWwisePicker.treeView.SaveExpansionStatus();
                if (Populate())
                {
                    AkWwiseXMLBuilder.Populate();
                    AkWwisePicker.PopulateTreeview();
                    //Make sure that the Wwise picker and the inspector are updated
                    AkUtilities.RepaintInspector();
                }

                s_lastFileCheck = System.DateTime.Now;
            }
        }
    }