public void OnInit(InitContext context)
 {
     if (context != InitContext.Activate)
         return;
     _playerWood = Scene.Current.FindComponent<Player>().GameObj.GetComponent<WoodComponent>();
     _logs = new List<GameObject>();
 }
 public void OnInit(InitContext context)
 {
     if (context == InitContext.Activate)
     {
         _woodComponent = GameObj.GetComponent<WoodComponent>();
     }
 }
        public void OnInit(InitContext context)
        {
            if (context != InitContext.Activate)
                return;

            _player = Scene.Current.FindComponent<Player>();
            _playerWood = _player.GameObj.GetComponent<WoodComponent>();
            _woodComponent = GameObj.GetComponent<WoodComponent>();
            _spriteRenderer = GameObj.Renderer as SpriteRenderer;
        }
        public void OnInit(InitContext context)
        {
            if (context != InitContext.Activate)
                return;

            _player = Scene.Current.FindComponent<Player>();
            _playerWood = _player.GameObj.GetComponent<WoodComponent>();
            _snowSkirt = Scene.Current.FindComponent<SnowSkirt>();
            _flames = GameObj.Children.ToList();
            _currentWood = MaxWoodCount;
        }