Example #1
0
 // Start is called before the first frame update
 void Awake()
 {
     i = this;
     playerOneToxicBar = Instantiate(Resources.Load <GameObject>("PlayerResource/ToxicityIndicator")).transform;
     playerTwoToxicBar = Instantiate(Resources.Load <GameObject>("PlayerResource/ToxicityIndicator")).transform;
 }
Example #2
0
 // Start is called before the first frame update
 void Start()
 {
     manager = ToxicAreaManager.i;
 }