RepaintInspector() public static method

public static RepaintInspector ( ) : void
return void
Exemplo n.º 1
0
 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();
     }
 }
Exemplo n.º 2
0
    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();
        }
    }
Exemplo n.º 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;
        }
    }
Exemplo n.º 4
0
    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;
            }
        }
    }