private void OnClickOpenBuff() { Bullet_HitAddAoeNode node = Model as Bullet_HitAddAoeNode; GraphGroupPath path = GraphSetting.Setting.GetSearchPath <AoeGraphGroupAsset>(); AoeGraphAsset asset = GraphSetting.Setting.GetAsset <AoeGraphAsset>(path.searchPath, "aoe_" + node.addAoe.id); if (asset != null) { BaseGraphWindow.JumpTo(asset); } }
public override void OnInspectorGUI() { base.OnInspectorGUI(); Skill_Tl_CreateAoeClip clip = Target as Skill_Tl_CreateAoeClip; if (GUILayout.Button("Open", GUILayout.Height(30))) { GraphGroupPath path = GraphSetting.Setting.GetSearchPath <AoeGraphGroupAsset>(); AoeGraphAsset asset = GraphSetting.Setting.GetAsset <AoeGraphAsset>(path.searchPath, "aoe_" + clip.addAoe.id); BaseGraphWindow.JumpTo(asset); } }