浏览代码

Add class for holding window docking layout

/main
Jens Holm 7 年前
当前提交
c35229be
共有 2 个文件被更改,包括 58 次插入0 次删除
  1. 47
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Inspector/WinowDockingLayout.cs
  2. 11
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Inspector/WinowDockingLayout.cs.meta

47
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Inspector/WinowDockingLayout.cs


using System.Collections;
using System.Collections.Generic;
using System;
using UnityEngine;
namespace UnityEditor.ShaderGraph.Drawing
{
[Serializable]
public class WinowDockingLayout : MonoBehaviour
{
[SerializeField]
bool m_DockingLeft;
public bool dockingLeft
{
get { return m_DockingLeft; }
set { m_DockingLeft = value; }
}
[SerializeField]
bool m_DockingTop;
public bool dockingTop
{
get { return m_DockingTop; }
set { m_DockingTop = value; }
}
[SerializeField]
float m_VerticalOffset;
public float verticalOffset
{
get { return m_VerticalOffset; }
set { m_VerticalOffset = value; }
}
[SerializeField]
float m_HorizontalOffset;
public float horizontalOffset
{
get { return m_HorizontalOffset; }
set { m_HorizontalOffset = value; }
}
}
}

11
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Inspector/WinowDockingLayout.cs.meta


fileFormatVersion: 2
guid: 5f70875ecccbc924b8f9f0d58bbb37e8
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
正在加载...
取消
保存