public SequenceBtnCreatorHelper(ISequenceBtnCreator sequence) { this.sequence = sequence; string json = PlayerPrefs.GetString(ConstString.JsonData, null); if (json == null) { throw new NullReferenceException("Missing json file"); } this.rootObject = JsonUtility.FromJson <RootObject>(json); }
public void Dispose() { this.sequence = null; this.rootObject = null; }