From b9e0ff15bea798979518daab7a88d96a4733fe59 Mon Sep 17 00:00:00 2001 From: prata0x Date: Sun, 17 Dec 2023 10:34:51 +0900 Subject: [PATCH] Fix comment in ObjectPool.OnBeforeRent and AsyncObjectPool.OnBeforeRent --- .../UniRx/Scripts/UnityEngineBridge/Toolkit/ObjectPool.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Plugins/UniRx/Scripts/UnityEngineBridge/Toolkit/ObjectPool.cs b/Assets/Plugins/UniRx/Scripts/UnityEngineBridge/Toolkit/ObjectPool.cs index 52e91bc2..b8bb89c8 100644 --- a/Assets/Plugins/UniRx/Scripts/UnityEngineBridge/Toolkit/ObjectPool.cs +++ b/Assets/Plugins/UniRx/Scripts/UnityEngineBridge/Toolkit/ObjectPool.cs @@ -33,7 +33,7 @@ protected int MaxPoolCount protected abstract T CreateInstance(); /// - /// Called before return to pool, useful for set active object(it is default behavior). + /// Called before taking from pool, useful for set active object(it is default behavior). /// protected virtual void OnBeforeRent(T instance) { @@ -258,7 +258,7 @@ protected int MaxPoolCount protected abstract IObservable CreateInstanceAsync(); /// - /// Called before return to pool, useful for set active object(it is default behavior). + /// Called before taking from pool, useful for set active object(it is default behavior). /// protected virtual void OnBeforeRent(T instance) {