From 4a8f9ba571cf7b09f6a4d5024b8ec16c01e6a01d Mon Sep 17 00:00:00 2001 From: Adam Ramberg Date: Tue, 4 Aug 2020 01:04:04 +0200 Subject: [PATCH] #180 - Minor style fix --- Packages/Core/Runtime/ValueLists/BaseAtomValueList.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Packages/Core/Runtime/ValueLists/BaseAtomValueList.cs b/Packages/Core/Runtime/ValueLists/BaseAtomValueList.cs index 5b0f1576..53608e7c 100644 --- a/Packages/Core/Runtime/ValueLists/BaseAtomValueList.cs +++ b/Packages/Core/Runtime/ValueLists/BaseAtomValueList.cs @@ -18,7 +18,8 @@ namespace UnityAtoms /// /// Whether the list should start cleared /// - [SerializeField] protected bool StartCleared; + [SerializeField] + protected bool _startCleared; /// /// Clear the list. @@ -33,7 +34,7 @@ namespace UnityAtoms } private void OnEnable() { - if(StartCleared) + if (_startCleared) { Clear(); }