Agenda 1762 UnityPackage

Create a resource node

Script and Sample Scene for the Resource Node.
  • Can set resource type (Wealth/Oil)
  • Can set starting capacity of the node
    • Log Error if Capacity < 0
  • Can set onMined and onDrained events
  • Change the mesh of the node when drained (It's a second script linked on the onDrained event. This script might be used to change the mesh of units when they get destroyed too.)
  • Sample Scene with UI elements to set the Team Id of the unit mining the node, a button to mine the node once and text elements to debug the node and events info.

I believe that's all for this agenda. If I let anything out or you need any adjustments please let me know.

Best wishes,
Felipe

Role: Game Programmer
Project: Armament
Created: 5/12/2018 12:46
Format: .unitypackage