private void OnClickOpenBuff() { Bullet_HitAddBulletNode node = Model as Bullet_HitAddBulletNode; GraphGroupPath path = GraphSetting.Setting.GetSearchPath <BulletGraphGroupAsset>(); BulletGraphAsset asset = GraphSetting.Setting.GetAsset <BulletGraphAsset>(path.searchPath, "bullet_" + node.addBullet.id); if (asset != null) { BaseGraphWindow.JumpTo(asset); } }
private void OnClickOpenBuff() { Skill_LearnBuffNode node = Model as Skill_LearnBuffNode; GraphGroupPath path = GraphSetting.Setting.GetSearchPath <BuffGraphGroupAsset>(); BuffGraphAsset asset = GraphSetting.Setting.GetAsset <BuffGraphAsset>(path.searchPath, "buff_" + node.id); if (asset != null) { BaseGraphWindow.JumpTo(asset); } }
private void OnClickOpenBuff() { Aoe_ActorLeaveAddAoeNode node = Model as Aoe_ActorLeaveAddAoeNode; 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_CreateBulletClip clip = Target as Skill_Tl_CreateBulletClip; if (GUILayout.Button("Open", GUILayout.Height(30))) { GraphGroupPath path = GraphSetting.Setting.GetSearchPath <BulletGraphGroupAsset>(); BulletGraphAsset asset = GraphSetting.Setting.GetAsset <BulletGraphAsset>(path.searchPath, "bullet_" + clip.addBullet.id); BaseGraphWindow.JumpTo(asset); } }