You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using NaughtyAttributes;using UnityEngine;using UnityEngine.Playables;[System.Serializable]publicclassCustomDialogBehaviour:PlayableBehaviour{[ResizableTextArea]publicstringdialogText;// working fine[Button("ToUpper")]// not even displaying BtnpublicvoidToUpper(){dialogText= dialogText.ToUpper();}publicColortextColor;publicColorcloudColor;
#if UNITY_EDITOR
[UnityEditor.CustomEditor(typeof(CustomDialogBehaviour)),UnityEditor.CanEditMultipleObjects]publicclassCustomDialogBehaviourEditor: UnityEditor.Editor
{publicoverridevoidOnInspectorGUI(){if(GUILayout.Button("ToUpperCase"))//this also not displaying btn{varcustomDialogBehaviour= serializedObject.FindProperty("dialogText");
customDialogBehaviour.stringValue = customDialogBehaviour.stringValue.ToUpper();
serializedObject.ApplyModifiedProperties();}
DrawDefaultInspector();}}
#endif
}
The text was updated successfully, but these errors were encountered:
here is my Code for Time timeline Track
The text was updated successfully, but these errors were encountered: