// Start is called before the first frame update void OnEnable() { _rb = GetComponent <Rigidbody>(); if (_spawnPool == null) { _spawnPool = SpawnablePool.Instance; } }
void Start() { _spawnablePool = SpawnablePool.Instance; }
void Awake() { _instance = this; }