Beispiel #1
0
        private void ResetPartDef(PlayerPartDef partDef)
        {
            if (partInfo == null)
            {
                partInfo = new PartWindowInfo();
            }
            else
            {
                partInfo.Clear();
            }

            editPartDef = partDef;
            RefreshWindowTitle();
        }
Beispiel #2
0
        private void OnDestroy()
        {
//            Debug.LogError($"OnDestroy");
            partInfo.Clear();
            partInfo = null;
        }