private void Start() { mainCharTransform = MainCharacter.current.transform; cameraFollow = CameraFollow.current; forestChunks = ForestChunks.current; plantPool = new PlantPool(); lastPos = mainCharTransform.position; UpdatePlants(lastPos); }
private void Awake() { current = this; }