【更新】Dynamic Crosshair Color Change 1.2
An easy system to help developers implement a colour changing crosshair, depending on the element they are looking at.
In this example, the crosshair can change to a different sprite and colour when they aim at an enemy, a friendly, or at an item they can interact with. Included is documentation on how the system works, with a step by step breakdown for you to follow and use to incorporate it in your game.
这是一个简单的系统,可以帮助开发人员根据所观察的元素来实现一个颜色可变的十字准线。
在本示例中,当玩家瞄准敌人、友军或可与之交互的物品时,十字准线可变为不同的精灵和颜色。本示例中包含了系统工作原理的文档,您可以按照该文档一步一步地将其应用到您的游戏中。
页:
[1]