您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
20 行
498 B
20 行
498 B
using System;
|
|
using UnityEngine;
|
|
|
|
namespace UnityEditor.Experimental.Rendering.Universal.Path2D.GUIFramework
|
|
{
|
|
internal abstract class DefaultControl : Control
|
|
{
|
|
public static readonly float kPickDistance = 5f;
|
|
|
|
public DefaultControl(string name) : base(name)
|
|
{
|
|
}
|
|
|
|
protected override LayoutData OnBeginLayout(LayoutData data, IGUIState guiState)
|
|
{
|
|
data.distance = kPickDistance;
|
|
return data;
|
|
}
|
|
}
|
|
}
|