HI~
I'm making FPS type adventure mobile game.
I used Control freak asset by mobile controller of this game.
And i have some questions.
1) i want to unlock cursor mode always from game start to end.
2) how i can use item in inventory while unlocked cursor mode?
3) i just want to use item just by one click.
(for example, door is unlocked when i click key item in inventory)
Thank you~
Comments
If you want to change this mid-game, you can either use the Player: Constrain Action to disable free-aiming, or by triggering the "ToggleCursor" input button. You can do this from a Menu Button on-screen if you want to give the player control over this.
2) If the cursor is unlocked, you'll be able to select inventory items just as normal - how do you mean, exactly?
3) You can override what happens when an Item is clicked by assigning it a "Use" ActionList asset, as set in it's properties in the Inventory Manager. ActionList assets can be used to reference scene objects such as doors - just be sure to save the scene afterwards, as it'll make changes to it automatically.
Unity UI-based Menus are very simple to link to AC (tutorial here), however the Demo Menus all have "Unity UI" counterparts. Just change the "Source" in the Demo_MenuManager's Inventory menu to "Unity Ui Prefab" to test it out.
3) Contacted as in near to? You can use Triggers to turn a Boolean global variable on and off when they approach / leave the Hotspot.
The 2D Demo behaves this way. Is this along the lines of what you have in mind?
Thanks, but my attitude is different.
I want some style just like "alone in the dark 1,2,3" and silent hill3.
in that game, player just use item in the hotspot zone. -> then reaction.
But after on second thoughts, i think that if i follow this way, I have to make my own item combine system.
So It seems to be better to use default system.
Thank you~