Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- public class TestScript : MonoBehaviour {
- void Start () {
- for (int i = 0; i < MyWarbandInfo.myHeroes.Length; i++) {
- Debug.Log (i);
- MyWarbandInfo.myHeroes [i] = new CharacterStats ();
- if (MyWarbandInfo.myHeroes [i] != null) {
- Debug.Log ("123");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement