コード例 #1
0
        public void Destroy()
        {
            removeAllChildren();
            unparent(behaviour);
            ScriptableObject.DestroyImmediate(behaviour, true);

            if (_inputKnob != null)
            {
                _inputKnob.OnDestroy();
            }
        }