mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-22 08:08:51 -05:00
Rename example scene
This commit is contained in:
parent
8c8833a04e
commit
2eb4cedf80
@ -255,7 +255,7 @@ MonoBehaviour:
|
||||
_constant: {fileID: 11400000, guid: 41aa2296cd68a4b718a8fd1bd8ad5a95, type: 2}
|
||||
_variable: {fileID: 0}
|
||||
_variableInstancer: {fileID: 0}
|
||||
_image: {fileID: 0}
|
||||
_image: {fileID: 145633449}
|
||||
--- !u!114 &145633449
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -321,7 +321,6 @@ MonoBehaviour:
|
||||
m_CallState: 2
|
||||
_actionResponses:
|
||||
- {fileID: 11400000, guid: 58f78c691d84e44cd84c884aadacf21a, type: 2}
|
||||
- {fileID: 11400000, guid: 310af909517714e69887a197f337882c, type: 2}
|
||||
_replayEventBufferOnRegister: 1
|
||||
_eventReference:
|
||||
_usage: 0
|
Before Width: | Height: | Size: 78 B After Width: | Height: | Size: 78 B |
Before Width: | Height: | Size: 78 B After Width: | Height: | Size: 78 B |
@ -14,9 +14,9 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
_developerDescription:
|
||||
_id:
|
||||
_value: 10
|
||||
_value: 100
|
||||
_initialValue: 100
|
||||
_oldValue: 20
|
||||
_oldValue: 0
|
||||
Changed: {fileID: 11400000, guid: fb1508338b66f42099fceb52aa22cf4c, type: 2}
|
||||
ChangedWithHistory: {fileID: 0}
|
||||
_preChangeTransformers: []
|
||||
|
@ -73,9 +73,10 @@ namespace UnityAtoms
|
||||
for (int i = 0; _actionResponses != null && i < _actionResponses.Count; ++i)
|
||||
{
|
||||
var action = _actionResponses[i];
|
||||
var actionWithParam = action as AtomAction<T>;
|
||||
|
||||
if (actionWithParam != null)
|
||||
if (action == null) continue;
|
||||
|
||||
if (action is AtomAction<T> actionWithParam)
|
||||
{
|
||||
actionWithParam.Do(item);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user