Пример #1
0
 public void InitObject(ObjectPoolBase _thePool)
 {
     objPool = (ObjectPool)_thePool;
 }
Пример #2
0
 public void InitObject(ObjectPoolBase _objPool)
 {
     missilePool    = (MissilePool)_objPool;
     mRigidbody     = GetComponent <Rigidbody>();
     mFixedBehavior = FireMissileBehavior;
 }