◆ SetUp()
override void Goo.Tests.Editor.Pooling.PoolingObjectsWithDefaultParentTests.SetUp |
( |
| ) |
|
|
inlinevirtual |
Implements Goo.Tests.Editor.Pooling.PoolingObjectsTests< TestablePooler >.
10 {
13 .Set(
"_prefab", p => p.objectReferenceValue =
_prefab)
14 .Apply()
15 .RunInEditor()
16 .Get();
17 }
TPooler _pooler
Definition: PoolingObjectsTests.cs:25
const string Name
Definition: PoolingObjectsTests.cs:23
GameObject _prefab
Definition: PoolingObjectsTests.cs:26
Definition: MonoBehaviourInitializer.cs:9
static MonoBehaviourInitializer< T > Instantiate(string name=null)
Definition: MonoBehaviourInitializer.cs:44
◆ GetObject_RootNameConvention()
void Goo.Tests.Editor.Pooling.PoolingObjectsWithDefaultParentTests.GetObject_RootNameConvention |
( |
| ) |
|
|
inline |
21 {
22 var actual =
_pooler.GetObject();
23 Assert.IsTrue(actual.transform.parent?.name.StartsWith(TestablePooler.PREFIX_NAME));
24 }
The documentation for this class was generated from the following file: