コード例 #1
0
        public override void OnInspectorGUI()
        {
            ICECreatureBodyPart _target = DrawEntityHeader <ICECreatureBodyPart>();

            DrawBodyPartContent(_target);
            DrawFooter(_target);
        }
コード例 #2
0
        public virtual void DrawBodyPartContent(ICECreatureBodyPart _target)
        {
            if (_target == null)
            {
                return;
            }

            CreatureObjectEditor.DrawImpactObject(_target, _target.Impact, m_HeaderType);
            CreatureObjectEditor.DrawBodyPartMotionObject(_target, _target.Motion, m_HeaderType);
        }