Rename example scene

This commit is contained in:
Adam Ramberg 2020-03-19 22:42:34 +01:00
parent 8c8833a04e
commit 2eb4cedf80
100 changed files with 6 additions and 6 deletions

View File

@ -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

View File

Before

Width:  |  Height:  |  Size: 78 B

After

Width:  |  Height:  |  Size: 78 B

View File

Before

Width:  |  Height:  |  Size: 78 B

After

Width:  |  Height:  |  Size: 78 B

View File

@ -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: []

View File

@ -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);
}