public void Start()
	{
		_controlManager = ControlManager.Instance;
		_movement = GetComponent<PedestrianMovement>();
		_sprite = GetComponentInChildren<AsvarduilSpriteSystem>();

		_currentIdleHook = FindCurrentIdleHook();
	}
	public override void Start()
	{
		base.Start();

		_treasureManager = TreasureManager.Instance;
		_spriteSystem = GetComponentInChildren<AsvarduilSpriteSystem>();

        LoadInitialState();
	}
Exemplo n.º 3
0
	public void Start()
	{
		_sprite = GetComponentInChildren<AsvarduilSpriteSystem>();
		_movement = GetComponent<PedestrianMovement>();
	}
	public virtual void Start()
	{
		_movement = GetComponent<SidescrollingMovement>();
		_sprite = GetComponentInChildren<AsvarduilSpriteSystem>();
	}