Ejemplo n.º 1
0
        public override void OnInspectorGUI()
        {
            RealtimeFloatSync data = (RealtimeFloatSync)target;

            base.OnInspectorGUI();
            GUILayout.Label("Local Float Value: " + data.localFloatValue);
            if (targets.Length == 1)
            {
                _floatPropertyBinderEditor.ShowGUI();
            }
        }
Ejemplo n.º 2
0
        public override void OnInspectorGUI()
        {
            RealtimeColorSync data = (RealtimeColorSync)target;

            base.OnInspectorGUI();
            GUILayout.Label("Color Value is: " + data.localColorValue);

            if (targets.Length == 1)
            {
                _propertyBinderEditor.ShowGUI();
            }
        }
        public override void OnInspectorGUI()
        {
            RealtimeIntSync data = (RealtimeIntSync)target;

            base.OnInspectorGUI();
            if (Application.isPlaying)
            {
                GUILayout.Label("Local Int Value: " + data.localIntValue);
            }
            if (targets.Length == 1)
            {
                _intPropertyBinderEditor.ShowGUI();
            }
        }