Пример #1
0
        private void OnEnable()
        {
            _target = target as AddressableImportSettings;
            _drawer = _drawer ?? new AddressableImporterOdinHandler();
            if (_target == null)
            {
                return;
            }

            _drawer.Initialize(_target);
            _methods = AddressableImporterMethodHandler.CollectValidMembers(_target.GetType());
        }
        private void OnEnable()
        {
            _target = target as AddressableImportSettings;
            if (_target == null)
            {
                return;
            }

#if ODIN_INSPECTOR
            _propertyTree = PropertyTree.Create(_target);
#endif

            _methods = AddressableImporterMethodHandler.CollectValidMembers(_target.GetType());
        }