コード例 #1
0
        public override void AttachEditorComponents(Entity entity, Main main)
        {
            base.AttachEditorComponents(entity, main);

            Trigger.AttachEditorComponents(entity, main, this.Color);

            VoxelAttachable.AttachEditorComponents(entity, main, entity.Get <Model>().Color);

            EntityConnectable.AttachEditorComponents(entity, "Target", entity.Get <Trigger>().Target);
        }