Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

Commit 65a0e61

Browse files
author
Yuncong Zhang
committed
Fix style.
1 parent 17d7bd3 commit 65a0e61

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Runtime/animation/listener_helpers.mixin.gen.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public override void addListener(VoidCallback listener) {
6262

6363
public override void removeListener(VoidCallback listener) {
6464
bool removed = this._listeners.Remove(listener);
65-
if(removed) {
65+
if (removed) {
6666
this.didUnregisterListener();
6767
}
6868
}
@@ -101,7 +101,7 @@ public override void addListener(VoidCallback listener) {
101101

102102
public override void removeListener(VoidCallback listener) {
103103
bool removed = this._listeners.Remove(listener);
104-
if(removed) {
104+
if (removed) {
105105
this.didUnregisterListener();
106106
}
107107
}
@@ -141,7 +141,7 @@ public override void addStatusListener(AnimationStatusListener listener) {
141141

142142
public override void removeStatusListener(AnimationStatusListener listener) {
143143
bool removed = this._statusListeners.Remove(listener);
144-
if(removed) {
144+
if (removed) {
145145
this.didUnregisterListener();
146146
}
147147
}
@@ -180,7 +180,7 @@ public override void addStatusListener(AnimationStatusListener listener) {
180180

181181
public override void removeStatusListener(AnimationStatusListener listener) {
182182
bool removed = this._statusListeners.Remove(listener);
183-
if(removed) {
183+
if (removed) {
184184
this.didUnregisterListener();
185185
}
186186
}
@@ -219,7 +219,7 @@ public override void addStatusListener(AnimationStatusListener listener) {
219219

220220
public override void removeStatusListener(AnimationStatusListener listener) {
221221
bool removed = this._statusListeners.Remove(listener);
222-
if(removed) {
222+
if (removed) {
223223
this.didUnregisterListener();
224224
}
225225
}

Runtime/animation/listener_helpers.mixin.njk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ namespace Unity.UIWidgets.animation {
6363

6464
public override void removeListener(VoidCallback listener) {
6565
bool removed = this._listeners.Remove(listener);
66-
if(removed) {
66+
if (removed) {
6767
this.didUnregisterListener();
6868
}
6969
}
@@ -106,7 +106,7 @@ namespace Unity.UIWidgets.animation {
106106

107107
public override void removeStatusListener(AnimationStatusListener listener) {
108108
bool removed = this._statusListeners.Remove(listener);
109-
if(removed) {
109+
if (removed) {
110110
this.didUnregisterListener();
111111
}
112112
}

0 commit comments

Comments
 (0)