Ejemplo n.º 1
0
        private void OnClickOpenBuff()
        {
            Aoe_ActorLeaveAddBulletNode node = Model as Aoe_ActorLeaveAddBulletNode;
            GraphGroupPath   path            = GraphSetting.Setting.GetSearchPath <BulletGraphGroupAsset>();
            BulletGraphAsset asset           = GraphSetting.Setting.GetAsset <BulletGraphAsset>(path.searchPath, "bullet_" + node.addBullet.id);

            if (asset != null)
            {
                BaseGraphWindow.JumpTo(asset);
            }
        }
Ejemplo n.º 2
0
        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);
            }
        }