Skip to content

Commit

Permalink
Rename event
Browse files Browse the repository at this point in the history
  • Loading branch information
BDeshiDev committed Jan 26, 2024
1 parent 5ff97d5 commit 621a242
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 60 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.Serialization;
using XNode;

namespace Studio23.SS2.DialogueSystem.Data
{
[NodeTint(200,50,50), NodeWidth(500), CreateNodeMenu("Unity Event Node")]
public class EventNode : EventNodeBase
{
[SerializeField] UnityEvent _event;
public UnityEvent Event;

public override void Invoke()
{
_event.Invoke();
Event.Invoke();
}

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -346,10 +346,7 @@ MonoBehaviour:
_node: {fileID: -2976715106930901999}
_typeQualifiedName: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
connections:
- fieldName: Entry
node: {fileID: 5592580153945411639}
reroutePoints: []
connections: []
_direction: 1
_connectionType: 0
_typeConstraint: 0
Expand Down Expand Up @@ -417,10 +414,7 @@ MonoBehaviour:
_node: {fileID: -1822135301059774123}
_typeQualifiedName: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
connections:
- fieldName: Entry
node: {fileID: 5592580153945411639}
reroutePoints: []
connections: []
_direction: 1
_connectionType: 0
_typeConstraint: 0
Expand Down Expand Up @@ -466,7 +460,6 @@ MonoBehaviour:
- {fileID: 1247732052999767825}
- {fileID: 7322660833987517088}
- {fileID: -2988117806070830359}
- {fileID: 5592580153945411639}
- {fileID: 401710227361937087}
SkippableDialogue: 0
_startNode: {fileID: -1822135301059774123}
Expand Down Expand Up @@ -632,55 +625,6 @@ MonoBehaviour:
references:
version: 2
RefIds: []
--- !u!114 &5592580153945411639
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 15f374202db79ae42ac267b0047a95ef, type: 3}
m_Name: Event
m_EditorClassIdentifier:
graph: {fileID: 11400000}
position: {x: -1960, y: 440}
ports:
keys:
- Entry
values:
- _fieldName: Entry
_node: {fileID: 5592580153945411639}
_typeQualifiedName: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
connections:
- fieldName: Events
node: {fileID: -1822135301059774123}
reroutePoints: []
- fieldName: Events
node: {fileID: -2976715106930901999}
reroutePoints: []
_direction: 0
_connectionType: 0
_typeConstraint: 0
_dynamic: 0
Entry: 0
Event:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 5592580153945411639}
m_TargetAssemblyTypeName: Studio23.SS2.DialogueSystem.Data.EventNode, com.studio23.ss2.dialoguesystem
m_MethodName: Debug
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!114 &7322660833987517088
MonoBehaviour:
m_ObjectHideFlags: 0
Expand Down

0 comments on commit 621a242

Please sign in to comment.