using UnityEngine; public class MoveObjectCategory : MonoBehaviour { [SerializeField] string _category; public string Category { get { return _category; } } private void Awake() { _category = name[..4]; } public bool IsDecoration() { return _category == "micr" || _category == "smal" || _category == "deco" || _category == "vase"|| _category == "orna"; } }