예제 #1
0
        public virtual void DrawObjectFunctionsContent(ICECreatureLadder _target)
        {
            //_target.AttachedCollider = (Collider)EditorGUILayout.ObjectField( "Collider", _target.AttachedCollider, typeof(Collider), true );
            _target.ClimbingOffset = ICEEditorLayout.Vector3Field("", "", _target.ClimbingOffset);

            AddComponentButton <BoxCollider>(_target.gameObject, "Box Collider", "");
        }
예제 #2
0
        public override void OnInspectorGUI()
        {
            ICECreatureLadder _target = DrawEntityHeader <ICECreatureLadder>();

            DrawObjectFunctionsContent(_target);
            DrawFooter(_target);
        }