Agenda 1762 UnityPackage


Create a resource node (Asset)


Author: Anonymous
Date Created: 5/12/2018 12:46:25 PM



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
ver: 20230327M182318
×

MEMBER
Login
COMMUNITY
Forum Blog
SERVICES
Animator Artist 2d Artist 3d Audio Engineer Game Creation Game Producer Graphic Designer Marketing Package Asset Programmer Story & Asset Writer Tutorial Video Production
ARTICLE CATEGORY
Animation Audio Production Cloud Gaming Game Development Graphic Design Marketing NFT Game Development Services Video Production