This is an old revision of the document!
Table of Contents
Prototyping

This is the prototype scene of football side minigame, The target of this side minigame people can interact and play it without trying to score. This time I'll using auto/modular cone placement.
State Machine
State Machine
Automatic cone placer (Dynamic/Modular) Cone respawn
So I create a area with a drawable Gizmos, Gizmos.DrawWireCube(cone.transform.position, new Vector3(rangeX , 3, rangeZ)); I draw the gizmos at parent location with random rangeX and rangeZ, so as you can se above the RED line is the range I draw. The blue one shows that I'm using random location at random point ex (0,1) (1,0) from the location. Everytime user scored it will reset and set 6 cone at random location.